class LSProtocol::DocumentHighlight
- LSProtocol::DocumentHighlight
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
-
#kind : DocumentHighlightKind | Nil
The highlight kind, default is
DocumentHighlightKind#Text
. -
#range : Range
The range this highlight applies to.