struct LSP::TextDocumentContentChangeEvent

Included Modules

Defined in:

lsp/protocol/text_document_content_change_event.cr

Constructors

Instance Method Summary

Constructor Detail

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

[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 : Int32 | Nil #

The length of the range that got replaced.


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

The length of the range that got replaced.


[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]