class

LSP::TextEdit

Inherits LSP::Initializer < JSON::Serializable < Reference < Object

A textual edit applicable to a text document.

Constructors

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
new_text=(new_text : String)

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
range=(range : Range)

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

Source