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.
Constructor
new(range:Range, ?kind:DocumentHighlightKind)
Creates a new document highlight object.
@link DocumentHighlightKind.Text text}.
Parameters:
range | The range the highlight applies to. |
---|---|
kind | The highlight kind, default is { |
Variables
kind:Null<DocumentHighlightKind>
The highlight kind, default is {@link DocumentHighlightKind.Text text}.