highlightText
highlightText(String text, Color highlightColor) function
Highlight all matches of sample in text frame text using specified color.
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | Text sample to highlight. |
| highlightColor | Color | Highlighting color. |
highlightText(String text, Color highlightColor, TextHighlightingOptions options) function
Highlight all matches of sample in text frame text using specified color.
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | Text sample to highlight. |
| highlightColor | Color | Highlighting color. |
| options | TextHighlightingOptions | Highlighting options. |