public static class StructureMatcher.Highlight extends TextAreaExtension
Modifier and Type | Method and Description |
---|---|
void |
paintValidLine(java.awt.Graphics2D gfx,
int screenLine,
int physicalLine,
int start,
int end,
int y)
Called by the text area when the extension is to paint a
screen line which has an associated physical line number in
the buffer.
|
getToolTipText, paintInvalidLine, paintScreenLineRange
public void paintValidLine(java.awt.Graphics2D gfx, int screenLine, int physicalLine, int start, int end, int y)
TextAreaExtension
paintValidLine
in class TextAreaExtension
gfx
- The graphics contextscreenLine
- The screen line numberphysicalLine
- The physical line numberstart
- The offset where the screen line begins, from
the start of the bufferend
- The offset where the screen line ends, from the
start of the buffery
- The y co-ordinate of the top of the line's
bounding box