nixd
Loading...
Searching...
No Matches
Public Attributes | Friends | List of all members
lspserver::DocumentHighlight Struct Reference

#include <Protocol.h>

Collaboration diagram for lspserver::DocumentHighlight:
[legend]

Public Attributes

Range range
 The range this highlight applies to.
 
DocumentHighlightKind kind = DocumentHighlightKind::Text
 The highlight kind, default is DocumentHighlightKind.Text.
 

Friends

bool operator< (const DocumentHighlight &LHS, const DocumentHighlight &RHS)
 
bool operator== (const DocumentHighlight &LHS, const DocumentHighlight &RHS)
 

Detailed Description

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.

Definition at line 1387 of file lspserver/include/lspserver/Protocol.h.

Friends And Related Symbol Documentation

◆ operator<

Definition at line 1394 of file lspserver/include/lspserver/Protocol.h.

◆ operator==

Definition at line 1401 of file lspserver/include/lspserver/Protocol.h.

Member Data Documentation

◆ kind

DocumentHighlightKind lspserver::DocumentHighlight::kind = DocumentHighlightKind::Text

The highlight kind, default is DocumentHighlightKind.Text.

Definition at line 1392 of file lspserver/include/lspserver/Protocol.h.

◆ range

Range lspserver::DocumentHighlight::range

The range this highlight applies to.

Definition at line 1389 of file lspserver/include/lspserver/Protocol.h.


The documentation for this struct was generated from the following file: