highlightRegex

highlightRegex(String regex, Color highlightColor, TextHighlightingOptions options) method

Highlight all matches of regular expression in text frame text using specified color.

Parameters

NameTypeDescription
regexStringText of regular expression to get text to highlight.
highlightColorColorHighlighting color.
optionsTextHighlightingOptionsHighlighting options.

Returns

void