class TextUi::TextDocument

Defined in:

textui/text_document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def block?(line) : TextBlock | Nil #

[View source]
def blocks : Array(TextBlock) #

[View source]
def can_redo?(*args, **options) #

[View source]
def can_redo?(*args, **options, &) #

[View source]
def can_undo?(*args, **options) #

[View source]
def can_undo?(*args, **options, &) #

[View source]
def clean_state_changed : Signal_clean_state_changed #

[View source]
def clear_undo_stack #

[View source]
def contents #

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

[View source]
def first_line #

[View source]
def highlight_block(block) #

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

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

[View source]
def push(cmd : UndoCommand) : Nil #

[View source]
def redo #

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

[View source]
def reset_syntaxhighlighting #

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

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

[View source]
def syntax_highlighter=(syntax_highlighter : SyntaxHighlighter) #

[View source]
def undo #

[View source]
def undo_stack_merge_interval=(value) #

[View source]