org.crsh.console
Class EditorAction
java.lang.Object
org.crsh.console.EditorAction
- Direct Known Subclasses:
- EditorAction.ChangeChars, EditorAction.Copy, EditorAction.DeleteNextChars, EditorAction.History, EditorAction.InsertKey, EditorAction.MoveNextWord, EditorAction.MovePrevWord, Mode
class EditorAction
- extends Object
An action on the editor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPLETE
static EditorAction COMPLETE
INTERRUPT
static EditorAction INTERRUPT
EOF_MAYBE
static EditorAction EOF_MAYBE
HISTORY_FIRST
static EditorAction HISTORY_FIRST
HISTORY_LAST
static EditorAction HISTORY_LAST
HISTORY_PREV
static EditorAction HISTORY_PREV
HISTORY_NEXT
static EditorAction HISTORY_NEXT
LEFT
static EditorAction LEFT
RIGHT
static EditorAction RIGHT
MOVE_BEGINNING
static EditorAction MOVE_BEGINNING
MOVE_PREV_WORD_AT_BEGINNING
static EditorAction MOVE_PREV_WORD_AT_BEGINNING
MOVE_PREV_WORD_AT_END
static EditorAction MOVE_PREV_WORD_AT_END
MOVE_NEXT_WORD_AT_BEGINNING
static EditorAction MOVE_NEXT_WORD_AT_BEGINNING
MOVE_NEXT_WORD_AFTER_END
static EditorAction MOVE_NEXT_WORD_AFTER_END
MOVE_NEXT_WORD_BEFORE_END
static EditorAction MOVE_NEXT_WORD_BEFORE_END
DELETE_PREV_WORD
static EditorAction DELETE_PREV_WORD
DELETE_NEXT_WORD
static EditorAction DELETE_NEXT_WORD
DELETE_UNTIL_NEXT_WORD
static EditorAction DELETE_UNTIL_NEXT_WORD
DELETE_END
static EditorAction DELETE_END
DELETE_BEGINNING
static EditorAction DELETE_BEGINNING
UNIX_LINE_DISCARD
static EditorAction UNIX_LINE_DISCARD
DELETE_LINE
static EditorAction DELETE_LINE
PASTE_AFTER
static EditorAction PASTE_AFTER
MOVE_END
static EditorAction MOVE_END
COPY
static EditorAction COPY
COPY_END_OF_LINE
static EditorAction COPY_END_OF_LINE
COPY_BEGINNING_OF_LINE
static EditorAction COPY_BEGINNING_OF_LINE
COPY_NEXT_WORD
static EditorAction COPY_NEXT_WORD
COPY_PREV_WORD
static EditorAction COPY_PREV_WORD
DELETE_PREV_CHAR
static EditorAction DELETE_PREV_CHAR
DELETE_NEXT_CHAR
static EditorAction DELETE_NEXT_CHAR
CHANGE_CASE
static EditorAction CHANGE_CASE
TRANSPOSE_CHARS
static EditorAction TRANSPOSE_CHARS
INSERT_COMMENT
static EditorAction INSERT_COMMENT
CLS
static EditorAction CLS
ENTER
static EditorAction ENTER
EditorAction
EditorAction()
execute
String execute(Editor editor,
EditorBuffer buffer,
int[] sequence,
boolean flush)
throws IOException
- Throws:
IOException
perform
void perform(Editor editor,
EditorBuffer buffer)
throws IOException
- Throws:
IOException
then
public EditorAction then(EditorAction action)
repeat
public EditorAction repeat(int count)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.