Interface DocumentHighlightProvider

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

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

Methods