DocumentHighlight

constructor(range: Range, kind: DocumentHighlightKind = definedExternally)(source)

Creates a new document highlight object.

Parameters

range

The range the highlight applies to.

kind

The highlight kind, default is text.

Online Documentation