struct

LSP::TextDocumentContentChangeEvent

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

range

The range of the document that changed.

Source
range=(range : Range | Nil)

The range of the document that changed.

Source
range_length

The length of the range that got replaced.

Source
range_length=(range_length : Int32 | Nil)

The length of the range that got replaced.

Source
text

The new text of the range/document.

Source
text=(text : String)

The new text of the range/document.

Source