org.crsh.console
Class EditorAction.Copy

java.lang.Object
  extended by org.crsh.console.EditorAction
      extended by org.crsh.console.EditorAction.Copy
Enclosing class:
EditorAction

abstract static class EditorAction.Copy
extends EditorAction


Nested Class Summary
 
Nested classes/interfaces inherited from class org.crsh.console.EditorAction
EditorAction.ChangeChars, EditorAction.Copy, EditorAction.DeleteNextChars, EditorAction.History, EditorAction.InsertKey, EditorAction.MoveNextWord, EditorAction.MovePrevWord
 
Field Summary
 
Fields inherited from class org.crsh.console.EditorAction
CHANGE_CASE, CLS, COMPLETE, COPY, COPY_BEGINNING_OF_LINE, COPY_END_OF_LINE, COPY_NEXT_WORD, COPY_PREV_WORD, DELETE_BEGINNING, DELETE_END, DELETE_LINE, DELETE_NEXT_CHAR, DELETE_NEXT_WORD, DELETE_PREV_CHAR, DELETE_PREV_WORD, DELETE_UNTIL_NEXT_WORD, ENTER, EOF_MAYBE, HISTORY_FIRST, HISTORY_LAST, HISTORY_NEXT, HISTORY_PREV, INSERT_COMMENT, INTERRUPT, LEFT, MOVE_BEGINNING, MOVE_END, MOVE_NEXT_WORD_AFTER_END, MOVE_NEXT_WORD_AT_BEGINNING, MOVE_NEXT_WORD_BEFORE_END, MOVE_PREV_WORD_AT_BEGINNING, MOVE_PREV_WORD_AT_END, PASTE_AFTER, RIGHT, TRANSPOSE_CHARS, UNIX_LINE_DISCARD
 
Constructor Summary
EditorAction.Copy()
           
 
Method Summary
protected abstract  int getFrom(EditorBuffer buffer)
           
protected abstract  int getTo(EditorBuffer buffer)
           
(package private)  void perform(Editor editor, EditorBuffer buffer)
           
 
Methods inherited from class org.crsh.console.EditorAction
execute, repeat, then
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorAction.Copy

EditorAction.Copy()
Method Detail

getFrom

protected abstract int getFrom(EditorBuffer buffer)

getTo

protected abstract int getTo(EditorBuffer buffer)

perform

void perform(Editor editor,
             EditorBuffer buffer)
       throws IOException
Overrides:
perform in class EditorAction
Throws:
IOException


Copyright © 2015 eXo Platform SAS. All Rights Reserved.