struct LSP::DidChangeTextDocumentParams

Included Modules

Defined in:

lsp/protocol/did_change_text_document_params.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def content_changes : Array(TextDocumentContentChangeEvent) #

The actual content changes. The content changes describe single state changes to the document. So if there are two content changes c1 and c2 for a document in state S then c1 move the document to S' and c2 to S''.


[View source]
def content_changes=(content_changes : Array(TextDocumentContentChangeEvent)) #

The actual content changes. The content changes describe single state changes to the document. So if there are two content changes c1 and c2 for a document in state S then c1 move the document to S' and c2 to S''.


[View source]
def text_document : VersionedTextDocumentIdentifier #

The document that did change. The version number points to the version after all provided content changes have been applied.


[View source]
def text_document=(text_document : VersionedTextDocumentIdentifier) #

The document that did change. The version number points to the version after all provided content changes have been applied.


[View source]