class LSProtocol::TextDocumentContentChangePartial
- LSProtocol::TextDocumentContentChangePartial
- Reference
- Object
Overview
@since 3.18.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(range : Range | Nil, text : String | Nil, range_length : UInt32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#range : Range
The range of the document that changed.
-
#range_length : UInt32 | Nil
The optional length of the range that got replaced.
-
#text : String
The new text for the provided range.
Constructor Detail
Instance Method Detail
def range_length : UInt32 | Nil
#
The optional length of the range that got replaced.
@deprecated use range instead.