public interface OccurrenceMarker
OccurrenceMarker is called when the caret stops moving after
a short period. If the current TokenMaker returns an instance of
this class, it is told to mark all occurrences of the identifier at the
caret position.| 限定符和类型 | 方法和说明 |
|---|---|
void |
markOccurrences(RSyntaxDocument doc,
Token t,
RSyntaxTextAreaHighlighter h,
SmartHighlightPainter p)
Called when occurrences of a token should be marked.
|
void markOccurrences(RSyntaxDocument doc, Token t, RSyntaxTextAreaHighlighter h, SmartHighlightPainter p)
doc - The document.t - The document whose relevant occurrences should be marked.h - The highlighter to add the highlights to.p - The painter for the highlights.