- Timestamp:
- 2013-12-07T14:18:45+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CopyAction.java
r6380 r6451 36 36 Shortcut.registerShortcut("system:copy", tr("Edit: {0}", tr("Copy")), KeyEvent.VK_C, Shortcut.CTRL), true); 37 37 putValue("help", ht("/Action/Copy")); 38 // CUA shortcut for copy (http://en.wikipedia.org/wiki/IBM_Common_User_Access#Description) 39 Main.registerActionShortcut(this, 40 Shortcut.registerShortcut("system:copy:cua", tr("Edit: {0}", tr("Copy")), KeyEvent.VK_INSERT, Shortcut.CTRL)); 38 41 } 39 42 -
trunk/src/org/openstreetmap/josm/actions/PasteAction.java
r6380 r6451 43 43 Shortcut.registerShortcut("system:paste", tr("Edit: {0}", tr("Paste")), KeyEvent.VK_V, Shortcut.CTRL), true); 44 44 putValue("help", ht("/Action/Paste")); 45 // CUA shortcut for paste (http://en.wikipedia.org/wiki/IBM_Common_User_Access#Description) 46 Main.registerActionShortcut(this, 47 Shortcut.registerShortcut("system:paste:cua", tr("Edit: {0}", tr("Paste")), KeyEvent.VK_INSERT, Shortcut.SHIFT)); 45 48 Main.pasteBuffer.addPasteBufferChangedListener(this); 46 49 }
Note:
See TracChangeset
for help on using the changeset viewer.