Changeset 15666 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-01-09T18:33:10+01:00 (5 years ago)
Author:
stoecker
Message:

fix #18521 - allow exceptions for shortcut parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/MoveAction.java

    r15630 r15666  
    3737        /** Move up */
    3838        UP(tr("up"), "up", KeyEvent.VK_UP),
     39        /* SHORTCUT(Move objects up, core:move:up, SHIFT, UP) */
    3940        /** Move left */
    4041        LEFT(tr("left"), "previous", KeyEvent.VK_LEFT),
     42        /* SHORTCUT(Move objects left, core:move:left, SHIFT, LEFT) */
    4143        /** Move right */
    4244        RIGHT(tr("right"), "next", KeyEvent.VK_RIGHT),
     45        /* SHORTCUT(Move objects right, core:move:right, SHIFT, RIGHT) */
    4346        /** Move down */
    4447        DOWN(tr("down"), "down", KeyEvent.VK_DOWN);
     48        /* SHORTCUT(Move objects down, core:move:down, SHIFT, DOWN) */
    4549
    4650        private final String localizedName;
     
    7579
    7680        Shortcut getShortcut() {
    77             return Shortcut.registerShortcut(
     81            return Shortcut.registerShortcut( /* NO-SHORTCUT - adapt definition above when modified */
    7882                    "core:move" + getId(), tr("Move objects {0}", getLocalizedName()), getShortcutKey(), Shortcut.SHIFT);
    7983        }
Note: See TracChangeset for help on using the changeset viewer.