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

#include <Protocol.h>

Collaboration diagram for lspserver::TextEdit:
[legend]

Public Attributes

Range range
 
std::string newText
 
ChangeAnnotationIdentifier annotationId = ""
 

Detailed Description

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

Member Data Documentation

◆ annotationId

ChangeAnnotationIdentifier lspserver::TextEdit::annotationId = ""

The actual annotation identifier (optional) If empty, then this field is nullopt.

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

Referenced by lspserver::fromJSON(), and lspserver::toJSON().

◆ newText

std::string lspserver::TextEdit::newText

The string to be inserted. For delete operations use an empty string.

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

Referenced by lspserver::fromJSON(), lspserver::operator==(), and lspserver::toJSON().

◆ range

Range lspserver::TextEdit::range

The range of the text document to be manipulated. To insert text into a document create a range where start === end.

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

Referenced by lspserver::fromJSON(), lspserver::operator==(), and lspserver::toJSON().


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