highlightText

highlightText(String text, Color highlightColor) function

Highlight all matches of sample in text frame text using specified color.

Parameters

NameTypeDescription
textStringText sample to highlight.
highlightColorColorHighlighting color.

highlightText(String text, Color highlightColor, TextHighlightingOptions options) function

Highlight all matches of sample in text frame text using specified color.

Parameters

NameTypeDescription
textStringText sample to highlight.
highlightColorColorHighlighting color.
optionsTextHighlightingOptionsHighlighting options.