class

LSProtocol::TextDocumentContentChangePartial

Inherits JSON::Serializable / Reference / Object

@since 3.18.0

Constructors

new(range : Range | Nil, text : String | Nil, range_length : UInt32 | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

range

The range of the document that changed.

Source
range_length

The optional length of the range that got replaced.

@deprecated use range instead.

Source
text

The new text for the provided range.

Source