Table of Contents

Class DocumentHighlight

Namespace
NMF.AnyText
Assembly
NMF.AnyText.Core.dll

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. Analogous to the LspTypes DocumentHighlight interface.

public class DocumentHighlight
Inheritance
DocumentHighlight
Inherited Members

Properties

Kind

The highlight kind, default is DocumentHighlightKind.Text.

public DocumentHighlightKind Kind { get; set; }

Property Value

DocumentHighlightKind

Range

The range this highlight applies to.

public ParseRange Range { get; set; }

Property Value

ParseRange