provideDocumentHighlights
abstract fun provideDocumentHighlights(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<ReadonlyArray<DocumentHighlight>>(source)
Provide a set of document highlights, like all occurrences of a variable or all exit-points of a function.
Parameters
document
The document in which the command was invoked.
position
The position at which the command was invoked.
token
A cancellation token.