class TextUi::TextDocument

Defined in:

textui/text_document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(contents : String = "") #

[View source]

Instance Method Detail

def blocks : Array(TextBlock) #

[View source]
def contents #

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

[View source]
def insert(line : Int32, text : String) : Nil #

[View source]
def open(filename : String) #

[View source]
def remove(line : Int32) : Nil #

[View source]
def save(io : IO) #

[View source]