aesi-java / com.virtlink.editorservices.syntaxhighlighting / ISyntaxHighlighter / highlight
highlight
abstract fun highlight(project: IProject, document: IDocument, text: String, span: Span, cancellationToken: ICancellationToken?): List<IToken>
Parameters
project - The project.
document - The document to parse.
text - The full document text.
span - The area of the document to parse.
cancellationToken - The cancellation token; or null.