1 /* |
|
2 * Copyright (c) 2002-2016, the original author or authors. |
|
3 * |
|
4 * This software is distributable under the BSD license. See the terms of the |
|
5 * BSD license in the documentation provided with this software. |
|
6 * |
|
7 * http://www.opensource.org/licenses/bsd-license.php |
|
8 */ |
|
9 package jdk.internal.jline.console; |
|
10 |
|
11 /** |
|
12 * List of all operations. |
|
13 * |
|
14 * @author <a href="mailto:gnodet@gmail.com">Guillaume Nodet</a> |
|
15 * @since 2.6 |
|
16 */ |
|
17 public enum Operation { |
|
18 |
|
19 ABORT, |
|
20 ACCEPT_LINE, |
|
21 ARROW_KEY_PREFIX, |
|
22 BACKWARD_BYTE, |
|
23 BACKWARD_CHAR, |
|
24 BACKWARD_DELETE_CHAR, |
|
25 BACKWARD_KILL_LINE, |
|
26 BACKWARD_KILL_WORD, |
|
27 BACKWARD_WORD, |
|
28 BEGINNING_OF_HISTORY, |
|
29 BEGINNING_OF_LINE, |
|
30 CALL_LAST_KBD_MACRO, |
|
31 CAPITALIZE_WORD, |
|
32 CHARACTER_SEARCH, |
|
33 CHARACTER_SEARCH_BACKWARD, |
|
34 CLEAR_SCREEN, |
|
35 COMPLETE, |
|
36 COPY_BACKWARD_WORD, |
|
37 COPY_FORWARD_WORD, |
|
38 COPY_REGION_AS_KILL, |
|
39 DELETE_CHAR, |
|
40 DELETE_CHAR_OR_LIST, |
|
41 DELETE_HORIZONTAL_SPACE, |
|
42 DIGIT_ARGUMENT, |
|
43 DO_LOWERCASE_VERSION, |
|
44 DOWNCASE_WORD, |
|
45 DUMP_FUNCTIONS, |
|
46 DUMP_MACROS, |
|
47 DUMP_VARIABLES, |
|
48 EMACS_EDITING_MODE, |
|
49 END_KBD_MACRO, |
|
50 END_OF_HISTORY, |
|
51 END_OF_LINE, |
|
52 EXCHANGE_POINT_AND_MARK, |
|
53 EXIT_OR_DELETE_CHAR, |
|
54 FORWARD_BACKWARD_DELETE_CHAR, |
|
55 FORWARD_BYTE, |
|
56 FORWARD_CHAR, |
|
57 FORWARD_SEARCH_HISTORY, |
|
58 FORWARD_WORD, |
|
59 HISTORY_SEARCH_BACKWARD, |
|
60 HISTORY_SEARCH_FORWARD, |
|
61 INSERT_CLOSE_CURLY, |
|
62 INSERT_CLOSE_PAREN, |
|
63 INSERT_CLOSE_SQUARE, |
|
64 INSERT_COMMENT, |
|
65 INSERT_COMPLETIONS, |
|
66 INTERRUPT, |
|
67 KILL_WHOLE_LINE, |
|
68 KILL_LINE, |
|
69 KILL_REGION, |
|
70 KILL_WORD, |
|
71 MENU_COMPLETE, |
|
72 MENU_COMPLETE_BACKWARD, |
|
73 NEXT_HISTORY, |
|
74 NON_INCREMENTAL_FORWARD_SEARCH_HISTORY, |
|
75 NON_INCREMENTAL_REVERSE_SEARCH_HISTORY, |
|
76 NON_INCREMENTAL_FORWARD_SEARCH_HISTORY_AGAIN, |
|
77 NON_INCREMENTAL_REVERSE_SEARCH_HISTORY_AGAIN, |
|
78 OLD_MENU_COMPLETE, |
|
79 OVERWRITE_MODE, |
|
80 PASTE_FROM_CLIPBOARD, |
|
81 POSSIBLE_COMPLETIONS, |
|
82 PREVIOUS_HISTORY, |
|
83 QUOTED_INSERT, |
|
84 QUIT, |
|
85 RE_READ_INIT_FILE, |
|
86 REDRAW_CURRENT_LINE, |
|
87 REVERSE_SEARCH_HISTORY, |
|
88 REVERT_LINE, |
|
89 SELF_INSERT, |
|
90 SET_MARK, |
|
91 SKIP_CSI_SEQUENCE, |
|
92 START_KBD_MACRO, |
|
93 TAB_INSERT, |
|
94 TILDE_EXPAND, |
|
95 TRANSPOSE_CHARS, |
|
96 TRANSPOSE_WORDS, |
|
97 TTY_STATUS, |
|
98 UNDO, |
|
99 UNIVERSAL_ARGUMENT, |
|
100 UNIX_FILENAME_RUBOUT, |
|
101 UNIX_LINE_DISCARD, |
|
102 UNIX_WORD_RUBOUT, |
|
103 UPCASE_WORD, |
|
104 YANK, |
|
105 YANK_LAST_ARG, |
|
106 YANK_NTH_ARG, |
|
107 YANK_POP, |
|
108 VI_APPEND_EOL, |
|
109 VI_APPEND_MODE, |
|
110 VI_ARG_DIGIT, |
|
111 VI_BACK_TO_INDENT, |
|
112 VI_BACKWARD_BIGWORD, |
|
113 VI_BACKWARD_WORD, |
|
114 VI_BWORD, |
|
115 VI_CHANGE_CASE, |
|
116 VI_CHANGE_CHAR, |
|
117 VI_CHANGE_TO, |
|
118 VI_CHANGE_TO_EOL, |
|
119 VI_CHAR_SEARCH, |
|
120 VI_COLUMN, |
|
121 VI_COMPLETE, |
|
122 VI_DELETE, |
|
123 VI_DELETE_TO, |
|
124 VI_DELETE_TO_EOL, |
|
125 VI_EDITING_MODE, |
|
126 VI_END_BIGWORD, |
|
127 VI_END_WORD, |
|
128 VI_EOF_MAYBE, |
|
129 VI_EWORD, |
|
130 VI_FWORD, |
|
131 VI_FETCH_HISTORY, |
|
132 VI_FIRST_PRINT, |
|
133 VI_FORWARD_BIGWORD, |
|
134 VI_FORWARD_WORD, |
|
135 VI_GOTO_MARK, |
|
136 VI_INSERT_BEG, |
|
137 VI_INSERTION_MODE, |
|
138 VI_KILL_WHOLE_LINE, |
|
139 VI_MATCH, |
|
140 VI_MOVEMENT_MODE, |
|
141 VI_NEXT_WORD, |
|
142 VI_OVERSTRIKE, |
|
143 VI_OVERSTRIKE_DELETE, |
|
144 VI_PREV_WORD, |
|
145 VI_PUT, |
|
146 VI_REDO, |
|
147 VI_REPLACE, |
|
148 VI_RUBOUT, |
|
149 VI_SEARCH, |
|
150 VI_SEARCH_AGAIN, |
|
151 VI_SET_MARK, |
|
152 VI_SUBST, |
|
153 VI_TILDE_EXPAND, |
|
154 VI_YANK_ARG, |
|
155 VI_YANK_TO, |
|
156 VI_MOVE_ACCEPT_LINE, |
|
157 VI_NEXT_HISTORY, |
|
158 VI_PREVIOUS_HISTORY, |
|
159 VI_INSERT_COMMENT, |
|
160 VI_BEGINNING_OF_LINE_OR_ARG_DIGIT, |
|
161 } |
|