class

LSProtocol::TextEdit

Inherits JSON::Serializable / Reference / Object

A text edit applicable to a text document.

Constructors

new(new_text : String | Nil, range : Range | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

new_text

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

Source
range

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

Source