Package | Description |
---|---|
org.gjt.sp.jedit |
This package contains jEdit 4's core classes.
|
org.gjt.sp.jedit.buffer |
Buffer event listeners, and classes used to implement jEdit's document model.
|
org.gjt.sp.jedit.syntax |
The jEdit syntax highlighting engine.
|
Modifier and Type | Method and Description |
---|---|
protected TokenMarker.LineContext |
Buffer.markTokens(javax.swing.text.Segment seg,
TokenMarker.LineContext prevContext,
TokenHandler _tokenHandler) |
Modifier and Type | Method and Description |
---|---|
protected TokenMarker.LineContext |
Buffer.markTokens(javax.swing.text.Segment seg,
TokenMarker.LineContext prevContext,
TokenHandler _tokenHandler) |
Modifier and Type | Method and Description |
---|---|
TokenMarker.LineContext |
JEditBuffer.getLineContext(int line)
Returns the line context of the token marker for the specified line.
|
TokenMarker.LineContext |
LineManager.getLineContext(int line) |
protected TokenMarker.LineContext |
JEditBuffer.markTokens(javax.swing.text.Segment seg,
TokenMarker.LineContext prevContext,
TokenHandler _tokenHandler) |
Modifier and Type | Method and Description |
---|---|
protected TokenMarker.LineContext |
JEditBuffer.markTokens(javax.swing.text.Segment seg,
TokenMarker.LineContext prevContext,
TokenHandler _tokenHandler) |
void |
LineManager.setLineContext(int line,
TokenMarker.LineContext context) |
Modifier and Type | Field and Description |
---|---|
protected TokenMarker.LineContext |
DefaultTokenHandler.lineContext |
TokenMarker.LineContext |
TokenMarker.LineContext.parent |
Modifier and Type | Method and Description |
---|---|
TokenMarker.LineContext |
DefaultTokenHandler.getLineContext()
The token handler can compare this object with the object
previously given for this line to see if the token type at the end
of the line has changed (meaning subsequent lines might need to be
retokenized).
|
TokenMarker.LineContext |
TokenMarker.LineContext.intern() |
TokenMarker.LineContext |
TokenMarker.markTokens(TokenMarker.LineContext prevContext,
TokenHandler tokenHandler,
javax.swing.text.Segment line)
Do not call this method directly; call Buffer.markTokens() instead.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultTokenHandler.addToken(Token token,
TokenMarker.LineContext context) |
protected Token |
DefaultTokenHandler.createToken(byte id,
int offset,
int length,
TokenMarker.LineContext context) |
protected ParserRuleSet |
DefaultTokenHandler.getParserRuleSet(TokenMarker.LineContext context) |
void |
TokenHandler.handleToken(javax.swing.text.Segment seg,
byte id,
int offset,
int length,
TokenMarker.LineContext context)
Called by the token marker when a syntax token has been parsed.
|
void |
DummyTokenHandler.handleToken(javax.swing.text.Segment seg,
byte id,
int offset,
int length,
TokenMarker.LineContext context)
Called by the token marker when a syntax token has been parsed.
|
void |
DefaultTokenHandler.handleToken(javax.swing.text.Segment seg,
byte id,
int offset,
int length,
TokenMarker.LineContext context)
Called by the token marker when a syntax token has been parsed.
|
void |
DisplayTokenHandler.handleToken(javax.swing.text.Segment seg,
byte id,
int offset,
int length,
TokenMarker.LineContext context)
Called by the token marker when a syntax token has been parsed.
|
TokenMarker.LineContext |
TokenMarker.markTokens(TokenMarker.LineContext prevContext,
TokenHandler tokenHandler,
javax.swing.text.Segment line)
Do not call this method directly; call Buffer.markTokens() instead.
|
void |
TokenHandler.setLineContext(TokenMarker.LineContext lineContext)
The token handler can compare this object with the object
previously given for this line to see if the token type at the end
of the line has changed (meaning subsequent lines might need to be
retokenized).
|
void |
DummyTokenHandler.setLineContext(TokenMarker.LineContext lineContext)
The token handler can compare this object with the object
previously given for this line to see if the token type at the end
of the line has changed (meaning subsequent lines might need to be
retokenized).
|
void |
DefaultTokenHandler.setLineContext(TokenMarker.LineContext lineContext)
The token handler can compare this object with the object
previously given for this line to see if the token type at the end
of the line has changed (meaning subsequent lines might need to be
retokenized).
|
Constructor and Description |
---|
LineContext(ParserRuleSet rs,
TokenMarker.LineContext lc) |