Package | Description |
---|---|
org.gjt.sp.jedit.syntax |
The jEdit syntax highlighting engine.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Chunk> |
DisplayTokenHandler.getChunkList() |
Returns the list of chunks.
|
Modifier and Type | Method | Description |
---|---|---|
static float |
Chunk.offsetToX(Chunk chunks,
int offset) |
Converts an offset in a chunk list into an x co-ordinate.
|
static float |
Chunk.paintChunkBackgrounds(Chunk chunks,
java.awt.Graphics2D gfx,
float x,
float y,
int lineHeight) |
Paints the background highlights of a chunk list.
|
static float |
Chunk.paintChunkList(Chunk chunks,
java.awt.Graphics2D gfx,
float x,
float y,
boolean glyphVector) |
Paints a chunk list.
|
static int |
Chunk.xToOffset(Chunk chunks,
float x,
boolean round) |
Converts an x co-ordinate in a chunk list into an offset.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DisplayTokenHandler.init(SyntaxStyle[] styles,
java.awt.font.FontRenderContext fontRenderContext,
javax.swing.text.TabExpander expander,
java.util.List<Chunk> out,
float wrapMargin,
int physicalLineOffset) |
Init some variables that will be used when marking tokens.
|