highlightRegex
highlightRegex(String regex, Color highlightColor, TextHighlightingOptions options) method
Highlight all matches of regular expression in text frame text using specified color.
Parameters
Name | Type | Description |
---|---|---|
regex | String | Text of regular expression to get text to highlight. |
highlightColor | Color | Highlighting color. |
options | TextHighlightingOptions | Highlighting options. |
Returns
void