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.

Hierarchy

  • DocumentHighlight

Index

Properties

Properties

kind

kind: DocumentHighlightKind.Text | DocumentHighlightKind.Read | DocumentHighlightKind.Write

The highlight kind, default is text.

range

range: IRange

The range this highlight applies to.