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

#include <Protocol.h>

Public Attributes

std::optional< Rangerange
 The range of the document that changed.
 
std::optional< intrangeLength
 The length of the range that got replaced.
 
std::string text
 The new text of the range/document.
 

Detailed Description

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

Member Data Documentation

◆ range

std::optional<Range> lspserver::TextDocumentContentChangeEvent::range

The range of the document that changed.

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

Referenced by lspserver::fromJSON().

◆ rangeLength

std::optional<int> lspserver::TextDocumentContentChangeEvent::rangeLength

The length of the range that got replaced.

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

Referenced by lspserver::fromJSON().

◆ text

std::string lspserver::TextDocumentContentChangeEvent::text

The new text of the range/document.

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

Referenced by lspserver::fromJSON().


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