struct LSP::TextDocumentContentChangeEvent

Overview

An event describing a change to a text document. If only a text is provided it is considered to be the full content of the document.

Included Modules

Defined in:

lsp/document_sync/did_change_text_document.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 : UInt32 | Nil #

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

[View source]
def text : String #

The new text of the whole document.


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

The new text of the whole document.


[View source]