LSProtocol::AnnotatedTextEdit
Inherits JSON::Serializable / Reference / Object
A special text edit with an additional change annotation.
@since 3.16.0.
Constructors
new(annotation_id : ChangeAnnotationIdentifier | Nil, new_text : String | Nil, range : Range | Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
range
The range of the text document to be manipulated. To insert text into a document create a range where start === end.