@Override void perform(Editor editor, EditorBuffer buffer) throws IOException { for (int i = 0;i < count;i++) { EditorAction.this.perform(editor, buffer); } } };
String execute(Editor editor, EditorBuffer buffer, int[] sequence, boolean flush) throws IOException { perform(editor, buffer); if (flush) { buffer.flush(); } return null; }
@Override String execute(Editor editor, EditorBuffer buffer, int[] sequence, boolean flush) throws IOException { EditorAction.MOVE_BEGINNING.perform(editor, buffer); buffer.append("#"); return EditorAction.ENTER.execute(editor, buffer, sequence, flush); } };
@Override void perform(Editor editor, EditorBuffer buffer) throws IOException { int pos = buffer.getCursor(); EditorAction.MOVE_NEXT_WORD_AT_BEGINNING.perform(editor, buffer); while (buffer.getCursor() > pos) { buffer.del(); } } };
@Override void perform(Editor editor, EditorBuffer buffer) throws IOException { for (int i = 0;i < count;i++) { EditorAction.this.perform(editor, buffer); } } };
@Override void perform(Editor editor, EditorBuffer buffer) throws IOException { for (int i = 0;i < count;i++) { EditorAction.this.perform(editor, buffer); } } };
String execute(Editor editor, EditorBuffer buffer, int[] sequence, boolean flush) throws IOException { perform(editor, buffer); if (flush) { buffer.flush(); } return null; }
String execute(Editor editor, EditorBuffer buffer, int[] sequence, boolean flush) throws IOException { perform(editor, buffer); if (flush) { buffer.flush(); } return null; }
@Override String execute(Editor editor, EditorBuffer buffer, int[] sequence, boolean flush) throws IOException { EditorAction.MOVE_BEGINNING.perform(editor, buffer); buffer.append("#"); return EditorAction.ENTER.execute(editor, buffer, sequence, flush); } };
@Override String execute(Editor editor, EditorBuffer buffer, int[] sequence, boolean flush) throws IOException { EditorAction.MOVE_BEGINNING.perform(editor, buffer); buffer.append("#"); return EditorAction.ENTER.execute(editor, buffer, sequence, flush); } };
@Override void perform(Editor editor, EditorBuffer buffer) throws IOException { int pos = buffer.getCursor(); EditorAction.MOVE_NEXT_WORD_AT_BEGINNING.perform(editor, buffer); while (buffer.getCursor() > pos) { buffer.del(); } } };
@Override void perform(Editor editor, EditorBuffer buffer) throws IOException { int pos = buffer.getCursor(); EditorAction.MOVE_NEXT_WORD_AT_BEGINNING.perform(editor, buffer); while (buffer.getCursor() > pos) { buffer.del(); } } };