class LSP::TextDocumentItem

Overview

An item to transfer a text document from the client to the server.

Included Modules

Defined in:

base/text_document_item.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def language_id : String #

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

[View source]
def text : String #

The content of the opened text document.


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

The content of the opened text document.


[View source]
def uri : String #

The text document's URI.


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

The text document's URI.


[View source]
def version : Int32 #

The version number of this document (it will increase after each change, including undo/redo).


[View source]
def version=(version : Int32) #

The version number of this document (it will increase after each change, including undo/redo).


[View source]