clang-tools 20.0.0git
|
A document highlight is a range inside a text document which deserves special attention. More...
#include <Protocol.h>
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) |
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 1457 of file Protocol.h.
|
friend |
Definition at line 1464 of file Protocol.h.
|
friend |
Definition at line 1471 of file Protocol.h.
DocumentHighlightKind clang::clangd::DocumentHighlight::kind = DocumentHighlightKind::Text |
The highlight kind, default is DocumentHighlightKind.Text.
Definition at line 1462 of file Protocol.h.
Referenced by clang::clangd::operator<<(), and clang::clangd::toJSON().
Range clang::clangd::DocumentHighlight::range |
The range this highlight applies to.
Definition at line 1459 of file Protocol.h.
Referenced by clang::clangd::operator<<(), and clang::clangd::toJSON().