struct LSP::Data::TextDocumentItem

Included Modules

Defined in:

lsp/data/text_document_item.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(uri : URI = URI.new, language_id : String = "", version : Int64 = 0, text : String = "") #

[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 : URI #

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

[View source]
def version : Int64 #

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


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

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


[View source]