|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
There may be multiple non-contiguous highilight areas. A highlight area may be used to visually indicate important spans of text, such as found search terms. Highlighted text is not connected to the clipboard or other selection mechanisms.
| Method Summary | |
void |
clearHighlights()
Clear all highlight ranges on a given node. |
void |
highlightArea(int startPosition,
int endPosition)
Define a highlight range on a given node. |
| Method Detail |
public void highlightArea(int startPosition,
int endPosition)
startPosition - Starting character offset for highlight range, or zero.endPosition - Ending character offset for highlight range, or zero.public void clearHighlights()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||