void () { ActionUtil.mergeFrom(myHistoryNext, "Console.History.Next"); ActionUtil.mergeFrom(myHistoryPrev, "Console.History.Previous"); ActionUtil.mergeFrom(myBrowseHistory, "Console.History.Browse"); if (!myMultiline) { addShortcuts(myHistoryNext, getShortcutUpDown(true)); addShortcuts(myHistoryPrev, getShortcutUpDown(false)); } myHistoryNext.registerCustomShortcutSet(myHistoryNext.getShortcutSet(), myConsole.getCurrentEditor().getComponent()); myHistoryPrev.registerCustomShortcutSet(myHistoryPrev.getShortcutSet(), myConsole.getCurrentEditor().getComponent()); myBrowseHistory.registerCustomShortcutSet(myBrowseHistory.getShortcutSet(), myConsole.getCurrentEditor().getComponent()); }