|
@@ -67,17 +67,17 @@ public abstract class InputHandler implements ConfigChangeListener {
|
67
|
67
|
* Indicates that the caret should be moved to the start of a selection when
|
68
|
68
|
* a control code has been inserted.
|
69
|
69
|
*/
|
70
|
|
- private static final int POSITION_START = 2;
|
|
70
|
+ protected static final int POSITION_START = 2;
|
71
|
71
|
/** Flag to indicate that this input handler should handle tab completion. */
|
72
|
|
- private static final int HANDLE_TABCOMPLETION = 1;
|
|
72
|
+ protected static final int HANDLE_TABCOMPLETION = 1;
|
73
|
73
|
/** Flag to indicate that this input handler should maintain a back buffer. */
|
74
|
|
- private static final int HANDLE_BACKBUFFER = 2;
|
|
74
|
+ protected static final int HANDLE_BACKBUFFER = 2;
|
75
|
75
|
/** Flag to indicate that this input handler should handle formatting. */
|
76
|
|
- private static final int HANDLE_FORMATTING = 4;
|
|
76
|
+ protected static final int HANDLE_FORMATTING = 4;
|
77
|
77
|
/** Flag to indicate that this input handler should handle returns. */
|
78
|
|
- private static final int HANDLE_RETURN = 8;
|
|
78
|
+ protected static final int HANDLE_RETURN = 8;
|
79
|
79
|
/** The flags for this particular input handler. */
|
80
|
|
- private int flags = HANDLE_TABCOMPLETION | HANDLE_BACKBUFFER
|
|
80
|
+ protected int flags = HANDLE_TABCOMPLETION | HANDLE_BACKBUFFER
|
81
|
81
|
| HANDLE_FORMATTING | HANDLE_RETURN;
|
82
|
82
|
/** The input buffer. */
|
83
|
83
|
protected RollingList<String> buffer;
|