Interface FieldHighlightFactory
- All Known Implementing Classes:
ListingFieldHighlightFactoryAdapter
public interface FieldHighlightFactory
A highlighter for
Fields.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateHighlights(Field field, String text, int cursorTextOffset) Returns the highlights for the given text
-
Field Details
-
NO_HIGHLIGHTS
-
-
Method Details
-
createHighlights
Returns the highlights for the given text- Parameters:
field- the field that is requesting the highlighttext- the text to be considered for highlightingcursorTextOffset- 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
-