mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
common shortcuts - ctrl-n for insert on macs
This commit is contained in:
@@ -32,7 +32,8 @@ public class CommonShortcuts {
|
||||
SystemInfo.isMac
|
||||
? KeyEvent.META_DOWN_MASK
|
||||
: KeyEvent.CTRL_DOWN_MASK));
|
||||
public static final ShortcutSet INSERT = new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, 0));
|
||||
public static final ShortcutSet INSERT = new CustomShortcutSet(SystemInfo.isMac ? KeyStroke.getKeyStroke(KeyEvent.VK_N, KeyEvent.CTRL_DOWN_MASK)
|
||||
: KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, 0));
|
||||
public static final ShortcutSet DELETE = new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0));
|
||||
public static final ShortcutSet ESCAPE = new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user