public class TokenMarkerState
extends Object
Modifier and Type | Method and Description |
---|---|
void |
deleteLines(int index,
int lines)
Informs the token marker that line have been deleted from
the document.
|
int |
getLineCount()
Returns the number of lines in this token marker.
|
void |
insertLines(int index,
int lines)
Informs the token marker that lines have been inserted into
the document.
|
boolean |
isNextLineRequested()
Returns true if the next line should be repainted.
|
Token |
markTokens(Segment line,
int lineIndex)
A wrapper for the lower-level
markTokensImpl method
that is called to split a line up into tokens. |
public Token markTokens(Segment line, int lineIndex)
markTokensImpl
method
that is called to split a line up into tokens.line
- The linelineIndex
- The line numberpublic void insertLines(int index, int lines)
lineInfo
array.index
- The first line numberlines
- The number of linespublic void deleteLines(int index, int lines)
lineInfo
array.index
- The first line numberlines
- The number of linespublic int getLineCount()
public boolean isNextLineRequested()