registerDocumentHighlightProvider method
Register a document highlight provider.
Multiple providers can be registered for a language. In that case providers are sorted
by their {@link languages.matchscore} and groups sequentially asked for document highlights.
The process stops when a provider returns a non-falsy or non-failure result.
Implementation
_i3.Disposable registerDocumentHighlightProvider(
_i2.Object selector,
_i3.DocumentHighlightProvider provider,
) =>
_i4.callMethod(
this,
'registerDocumentHighlightProvider',
[
selector,
provider,
],
);