Package | Description |
---|---|
org.gjt.sp.jedit |
This package contains jEdit'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 | Description |
---|---|---|
protected TokenMarker.LineContext |
Buffer.markTokens(javax.swing.text.Segment seg,
TokenMarker.LineContext prevContext,
TokenHandler _tokenHandler) |
Modifier and Type | Method | Description |
---|---|---|
protected TokenMarker.LineContext |
Buffer.markTokens(javax.swing.text.Segment seg,
TokenMarker.LineContext prevContext,
TokenHandler _tokenHandler) |
Modifier and Type | Method | Description |
---|---|---|
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 | 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 | Description |
---|---|---|
protected TokenMarker.LineContext |
DefaultTokenHandler.lineContext |
|
TokenMarker.LineContext |
TokenMarker.LineContext.parent |
Modifier and Type | Method | 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 | 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 |
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.
|
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 |
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.
|
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 |
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).
|
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 |
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).
|
Constructor | Description |
---|---|
LineContext(ParserRuleSet rs,
TokenMarker.LineContext lc) |