Changes between Initial Version and Version 1 of Ticket #7226, comment 8


Ignore:
Timestamp:
2012-01-21T19:39:52+01:00 (14 years ago)
Author:
akks

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7226, comment 8

    initial v1  
    11I tried to change the code of utilspluguin2 to be simpler for parser...
    2 It seems, brace-matching is essential pat of the script.
     2It seems, brace-matching is essential part of the script.
     3
     4I can ot figure the logic of active script - it finds shortcut in
     5{{{
     6super(tr("Split Way"), "splitway", tr("Split a way at the selected node."),
     7      Shortcut.registerShortcut("tools:splitway", tr("Tool: {0}", tr("Split Way")), KeyEvent.VK_P, Shortcut.GROUP_EDIT), true);
     8  putValue("help", ht("/Action/SplitWay"));
     9}}}
     10but does not find
     11{{{
     12   super(tr("Split Object"), "splitobject", tr("Split an object at the selected nodes."),
     13                        Shortcut.registerShortcut("tools:splitobject", tr("Tool: {0}", "Split Object"),
     14                                KeyEvent.VK_P,  Shortcut.SHIFT_DEFAULT), true);
     15                putValue("help", ht("/Action/SplitObject"));
     16}}}
     17Two line limit, or I am wrong?