struct LSP::Data::TextDocumentContentChangeEvent
- LSP::Data::TextDocumentContentChangeEvent
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/data/text_document_content_change_event.crConstructors
- .new(pull : JSON::PullParser)
- .new(range : LSP::Data::Range | Nil = nil, range_length : Int64 | Nil = nil, text : String = "")
Instance Method Summary
-
#range : Range | Nil
The range of the document that changed.
-
#range=(range : Range | Nil)
The range of the document that changed.
- #range_length : Int64 | Nil
- #range_length=(range_length : Int64 | Nil)
-
#text : String
The new text of the range/document.
-
#text=(text : String)
The new text of the range/document.
Constructor Detail
def self.new(range : LSP::Data::Range | Nil = nil, range_length : Int64 | Nil = nil, text : String = "")
#