Interface DocumentHighlightProvider

The document highlight provider interface defines the contract between extensions and the word-highlight-feature.

interface DocumentHighlightProvider {
    provideDocumentHighlights(model, position, token): ProviderResult<DocumentHighlight[]>;
}

Methods