Highlight the matched characters of a source text.
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.
An array of unmatched and highlighted chunks.
Generated using TypeDoc