| 2 | | It seems, brace-matching is essential pat of the script. |
| | 2 | It seems, brace-matching is essential part of the script. |
| | 3 | |
| | 4 | I can ot figure the logic of active script - it finds shortcut in |
| | 5 | {{{ |
| | 6 | super(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 | }}} |
| | 10 | but 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 | }}} |
| | 17 | Two line limit, or I am wrong? |