DocumentHighlight

A document highlight is a range inside a text document which deserves special attention. Usually a document highlight is visualized by changing the background color of its range.

Online Documentation

Constructors

Link copied to clipboard
constructor(range: Range, kind: DocumentHighlightKind = definedExternally)

Creates a new document highlight object.

Properties

Link copied to clipboard

The highlight kind, default is text.

Link copied to clipboard

The range this highlight applies to.