class TextUi::TextBlockChangeCommand
Defined in:
textui/text_editor_commands.crConstructors
-
.new(cursor : TextCursor, mode : Mode)
This remove a character from a block
- .new(cursor : TextCursor, chr : Char)
Instance Method Summary
- #merge(other : TextBlockChangeCommand)
- #new_col : Int32
- #new_text : String
- #redo : Nil
- #text_inserted? : Bool
- #undo : Nil
Instance methods inherited from class TextUi::TextBlockBaseCommand
block
block,
document(*args, **options)document(*args, **options, &) document, restore_cursor restore_cursor