Skip to content

Commit

Permalink
indicate possible shortcuts for parser
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19263 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
stoecker committed Nov 30, 2024
1 parent 959aad5 commit 2b3bb3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public void initSystemShortcuts() {
final String reserved = marktr("reserved");
// CHECKSTYLE.OFF: LineLength
// TODO: Insert system shortcuts here. See Windows and especially OSX to see how to.
/* POSSIBLE SHORTCUTS: F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12 */
for (int i = KeyEvent.VK_F1; i <= KeyEvent.VK_F12; ++i) {
Shortcut.registerSystemShortcut("screen:toggle"+i, tr(reserved), i, InputEvent.CTRL_DOWN_MASK | InputEvent.ALT_DOWN_MASK)
.setAutomatic();
Expand Down

0 comments on commit 2b3bb3e

Please sign in to comment.