-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move character constants out of AeshTextViewer, move reset() function…
…ality to DelegatingDocument
- Loading branch information
Showing
5 changed files
with
73 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...org.jboss.tools.aesh.ui/src/org/jboss/tools/aesh/ui/internal/util/CharacterConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.jboss.tools.aesh.ui.internal.util; | ||
|
||
public class CharacterConstants { | ||
|
||
public static final String START_LINE = new Character((char)1).toString(); | ||
public static final String PREV_CHAR = new Character((char)2).toString(); | ||
public static final String CTRL_C = new Character((char)3).toString(); | ||
public static final String CTRL_D = new Character((char)4).toString(); | ||
public static final String END_LINE = new Character((char)5).toString(); | ||
public static final String NEXT_CHAR = new Character((char)6).toString(); | ||
public static final String DELETE_PREV_CHAR = new Character((char)8).toString(); | ||
public static final String PREV_HISTORY = new Character((char)16).toString(); | ||
public static final String NEXT_HISTORY = new Character((char)14).toString(); | ||
public static final String DELETE_NEXT_CHAR = new String(new char[] {(char)27,(char)91,(char)51,(char)126}); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters