highlightLines
highlightLines(
text,tokens): readonly readonlyHighlightSegment[][]
Highlighted text as lines of styled runs, for renderers that draw spans.
Parameters
Section titled “Parameters”string
tokens
Section titled “tokens”readonly Readonly<EditorToken>[]
Returns
Section titled “Returns”readonly readonly HighlightSegment[][]