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