class
LSP::TextEdit
- LSP::TextEdit
- Reference
- Object
Overview
A textual edit applicable to a text document.
Included Modules
Defined in:
base/text_edit.crConstructors
Instance Method Summary
-
#new_text : String
The string to be inserted.
-
#new_text=(new_text : String)
The string to be inserted.
-
#range : Range
The range of the text document to be manipulated.
-
#range=(range : Range)
The range of the text document to be manipulated.
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
Constructor Detail
Instance Method Detail
def new_text=(new_text : String)
#
The string to be inserted. For delete operations use an empty string.
The range of the text document to be manipulated. To insert text into a document create a range where start === end.
The range of the text document to be manipulated. To insert text into a document create a range where start === end.