Interface HighlightFactory
-
- All Known Implementing Classes:
FieldHighlightFactory
public interface HighlightFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Highlight[]
getHighlights(java.lang.String text, int cursorTextOffset)
Returns the highlights for the given text.
-
-
-
Method Detail
-
getHighlights
Highlight[] getHighlights(java.lang.String text, int cursorTextOffset)
Returns the highlights for the given text.- Parameters:
text
- the text to be considered for highlighting.cursorTextOffset
- the position in the given text of the cursor. A -1 indicates the cursor is not in this field.- Returns:
- an array of highlights to be rendered.
-
-