Changeset 4994 in josm for trunk/src/org
- Timestamp:
- 2012-02-19T15:37:09+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r4991 r4994 63 63 Shortcut.registerSystemShortcut("system:cut", tr("reserved"), VK_X, CTRL_DOWN_MASK); // Cut the selected item 64 64 Shortcut.registerSystemShortcut("system:paste", tr("reserved"), VK_V, CTRL_DOWN_MASK); // Paste the selected item 65 Shortcut.registerSystemShortcut("system:undo", tr("reserved"), VK_Z, CTRL_DOWN_MASK); 66 Shortcut.registerSystemShortcut("system:redo", tr("reserved"), VK_Y, CTRL_DOWN_MASK); 65 Shortcut.registerSystemShortcut("system:undo", tr("reserved"), VK_Z, CTRL_DOWN_MASK); // Undo an action 66 Shortcut.registerSystemShortcut("system:redo", tr("reserved"), VK_Y, CTRL_DOWN_MASK); // Redo an action 67 67 //Shortcut.registerSystemCut("microsoft-reserved-10", "reserved", VK_DELETE, 0); // Delete the selected item and move it to the Recycle Bin 68 68 //Shortcut.registerSystemCut("microsoft-reserved-11", "reserved", VK_DELETE, SHIFT_DOWN_MASK); // Delete the selected item without moving it to the Recycle Bin first 69 69 //Shortcut.registerSystemCut("system:rename", tr("reserved"), VK_F2, 0); // Rename the selected item 70 Shortcut.registerSystemShortcut(" microsoft-reserved-13", tr("reserved"), VK_RIGHT, CTRL_DOWN_MASK).setAutomatic(); // Move the cursor to the beginning of the next word71 Shortcut.registerSystemShortcut(" microsoft-reserved-14", tr("reserved"), VK_LEFT, CTRL_DOWN_MASK).setAutomatic();// Move the cursor to the beginning of the previous word72 Shortcut.registerSystemShortcut(" microsoft-reserved-15", tr("reserved"), VK_DOWN, CTRL_DOWN_MASK).setAutomatic();// Move the cursor to the beginning of the next paragraph73 Shortcut.registerSystemShortcut(" microsoft-reserved-16", tr("reserved"), VK_UP, CTRL_DOWN_MASK).setAutomatic();// Move the cursor to the beginning of the previous paragraph70 Shortcut.registerSystemShortcut("system:movefocusright", tr("reserved"), VK_RIGHT, CTRL_DOWN_MASK); // Move the cursor to the beginning of the next word 71 Shortcut.registerSystemShortcut("system:movefocusleft", tr("reserved"), VK_LEFT, CTRL_DOWN_MASK); // Move the cursor to the beginning of the previous word 72 Shortcut.registerSystemShortcut("system:movefocusdown", tr("reserved"), VK_DOWN, CTRL_DOWN_MASK); // Move the cursor to the beginning of the next paragraph 73 Shortcut.registerSystemShortcut("system:movefocusup", tr("reserved"), VK_UP, CTRL_DOWN_MASK); // Move the cursor to the beginning of the previous paragraph 74 74 //Shortcut.registerSystemCut("microsoft-reserved-17", tr("reserved"), VK_RIGHT, CTRL_DOWN_MASK | SHIFT_DOWN_MASK); // Select a block of text 75 75 //Shortcut.registerSystemCut("microsoft-reserved-18", tr("reserved"), VK_LEFT, CTRL_DOWN_MASK | SHIFT_DOWN_MASK); // Select a block of text
Note:
See TracChangeset
for help on using the changeset viewer.