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) #

def self.new(**args) #

Instance Method Detail

def language_id : String #

def language_id=(language_id : String) #

def text : String #

The content of the opened text document.


def text=(text : String) #

The content of the opened text document.


def uri : String #

The text document's URI.


def uri=(uri : String) #

The text document's URI.


def version : Int32 #

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


def version=(version : Int32) #

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