public interface Keymap
- Since:
- jEdit 5.0
- Author:
- Matthieu Casanova
-
Method Summary
Modifier and TypeMethodDescriptiongetShortcut(String name) Returns a shortcut.voidsave()Save the keymaps.voidsetShortcut(String name, String shortcut) Set a new shortcut.
-
Method Details
-
getShortcut
Returns a shortcut.- Parameters:
name- the shortcut name- Returns:
- the action name or
nullif there is no shortcut
-
setShortcut
Set a new shortcut.- Parameters:
name- the shortcut nameshortcut- the action name, ornullto delete a shortcut
-
save
void save()Save the keymaps.
-