|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.gui.util.EmacsKeyBindings
public class EmacsKeyBindings
Generic class which activates Emacs keybindings for java input JTextComponent
s.
TODO: Some actions don't work at the end of line, that's because they
depend on built-in actions.
Nested Class Summary | |
---|---|
static class |
EmacsKeyBindings.BackwardKillWordAction
Kills the previous word. |
static class |
EmacsKeyBindings.CapitalizeWordAction
Capitalizes the next word. |
static class |
EmacsKeyBindings.DowncaseWordAction
Renders all characters of the next word to lowercase. |
static class |
EmacsKeyBindings.KillLineAction
Kills text up to the end of the current line and stores it in the killring. |
static class |
EmacsKeyBindings.KillRegionAction
Kills the marked region and stores it in the killring. |
static class |
EmacsKeyBindings.KillRingSaveAction
Copies the marked region and stores it in the killring. |
static class |
EmacsKeyBindings.KillWordAction
Kills the next word. |
static class |
EmacsKeyBindings.SetMarkCommandAction
Sets a beginning mark. |
static class |
EmacsKeyBindings.UpcaseWordAction
Renders all characters of the next word to upppercase. |
static class |
EmacsKeyBindings.YankAction
Pastes text from killring. |
static class |
EmacsKeyBindings.YankPopAction
Pastes an element from the killring cycling through it. |
Field Summary | |
---|---|
static java.lang.String |
backwardKillWordAction
|
static java.lang.String |
capitalizeWordAction
|
static java.lang.String |
downcaseWordAction
|
static javax.swing.text.JTextComponent.KeyBinding[] |
EMACS_KEY_BINDINGS
|
static java.lang.String |
killLineAction
|
static java.lang.String |
killRegionAction
|
static java.lang.String |
killRingSaveAction
|
static java.lang.String |
killWordAction
|
static java.lang.String |
setMarkCommandAction
|
static java.lang.String |
upcaseWordAction
|
static java.lang.String |
yankAction
|
static java.lang.String |
yankPopAction
|
Constructor Summary | |
---|---|
EmacsKeyBindings()
|
Method Summary | |
---|---|
static void |
load()
|
static void |
unload()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String killLineAction
public static final java.lang.String killRingSaveAction
public static final java.lang.String killRegionAction
public static final java.lang.String backwardKillWordAction
public static final java.lang.String capitalizeWordAction
public static final java.lang.String downcaseWordAction
public static final java.lang.String killWordAction
public static final java.lang.String setMarkCommandAction
public static final java.lang.String yankAction
public static final java.lang.String yankPopAction
public static final java.lang.String upcaseWordAction
public static final javax.swing.text.JTextComponent.KeyBinding[] EMACS_KEY_BINDINGS
Constructor Detail |
---|
public EmacsKeyBindings()
Method Detail |
---|
public static void load()
public static void unload()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |