java.lang.Object
org.gjt.sp.jedit.textarea.TextAreaExtension
org.gjt.sp.jedit.textarea.StructureMatcher.Highlight
- Enclosing interface:
- StructureMatcher
Paints the structure match highlight.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paintValidLine
(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.Methods inherited from class org.gjt.sp.jedit.textarea.TextAreaExtension
getToolTipText, paintInvalidLine, paintScreenLineRange
-
Method Details
-
paintValidLine
public void paintValidLine(Graphics2D gfx, int screenLine, int physicalLine, int start, int end, int y) Description copied from class:TextAreaExtension
Called by the text area when the extension is to paint a screen line which has an associated physical line number in the buffer. Note that since one physical line may consist of several screen lines due to soft wrap, the start and end offsets of the screen line are passed in as well.- Overrides:
paintValidLine
in classTextAreaExtension
- Parameters:
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
-