struct LSP::Data::TextDocumentContentChangeEvent

Included Modules

Defined in:

lsp/data/text_document_content_change_event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(range : LSP::Data::Range | Nil = nil, range_length : Int64 | Nil = nil, text : String = "") #

[View source]

Instance Method Detail

def range : Range | Nil #

The range of the document that changed.


[View source]
def range=(range : Range | Nil) #

The range of the document that changed.


[View source]
def range_length : Int64 | Nil #

[View source]
def range_length=(range_length : Int64 | Nil) #

[View source]
def text : String #

The new text of the range/document.


[View source]
def text=(text : String) #

The new text of the range/document.


[View source]