class Crystalline::TextDocument

Defined in:

crystalline/text_document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(uri : URI, project : Nil | Crystalline::Project, contents : String) #

[View source]

Instance Method Detail

def contents : String #

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

[View source]
def lines_nb : Int32 #

[View source]
def project? : Project | Nil #

[View source]
def update_contents(content_changes = Array(ContentChange), version : Number | Nil = nil) #

[View source]
def uri : URI #

[View source]
def version : Int32 #

[View source]
def version? : Int32 | Nil #

[View source]