Method Summary |
|
public int | absOffset() Get the absolute character offset of the document represented by BraceReduction. |
public int | balanceBackward() Finds the open brace that matches the previous significant
brace iff that brace is an closing brace.
the distance until the matching open brace. |
public int | balanceForward() Finds the closing brace that matches the next significant
brace iff that brace is an open brace.
the distance until the matching closing brace. |
ReducedToken | currentToken() Get the current token in the BraceReduction. |
public void | delete(int count) |
public int | getDistToNextNewline() Gets distance to next new line. |
public int | getDistToPreviousNewline(int relativeLoc) |
public Vector<HighlightStatus> | getHighlightStatus(int start, int length) Return all highlight status info for text between the current
location and current location + end. |
public IndentInfo | getIndentInformation() Gets the distance to the enclosing brace. |
ReducedModelState | getStateAtCurrent() Get the state of the token at the current cursor position. |
public void | insertChar(char ch) Insert a character into the BraceReduction. |
public void | move(int count) Updates the BraceReduction to reflect cursor movement.
Negative values move left from the cursor, positive values move
right. |
public ReducedModelState | moveWalkerGetState(int relLocation) |
public void | resetLocation() Resets the location of the walker in the comment list to where the
current cursor is. |
public String | simpleString() A simplified toString() method. |