Highlight the matched characters of a source text.
An array of unmatched and highlighted chunks.
The text which should be highlighted.
The indices of the matched characters. They must appear in increasing order and must be in bounds of the source.
The function to apply to the matched chunks.
Generated using TypeDoc
Highlight the matched characters of a source text.
Returns
An array of unmatched and highlighted chunks.