struct LSP::TextDocumentItem

Included Modules

Defined in:

lsp/text_document.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def langauge_id : String #

[View source]
def langauge_id=(langauge_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 #

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

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