class Cride::Editor
- Cride::Editor
- Reference
- Object
Defined in:
editor.creditor/add.cr
editor/delete.cr
editor/move.cr
Constructors
Instance Method Summary
- #absolute_x : Int32
- #absolute_y : Int32
- #add_char(char : Char)
- #add_duplicated_line
- #add_line
-
#additional_tab_spaces_before_absolute_x(line : String) : Int32
Count tabs before the cursor
- #additional_tab_width(line : String) : Int32
- #clear_line
- #cursor_x : Int32
- #cursor_x_with_tabs : Int32
- #cursor_y : Int32
- #delete_line
- #delete_next_char
- #delete_previous_char
-
#empty_row?(row : String)
An 'empty' row consists of only spaces and/or tabs, or no chars.
- #file : FileHandler
- #height : Int32
- #height=(height : Int32)
- #insert : Bool
- #insert=(insert : Bool)
- #move_down
- #move_end_of_line
- #move_left
-
#move_next_block
Used for CTRL arrow down.
-
#move_next_word
Used for CTRL arrow right.
- #move_page_down
- #move_page_up
-
#move_previous_block
Used for CTRL arrow up.
-
#move_previous_word
Used for CTRL arrow left.
- #move_right
- #move_up
- #page_x : Int32
- #page_y : Int32
- #reset_x : Nil
- #reset_y : Nil
- #set_char(char : Char)
- #tab_spaces : Int32
- #tab_spaces=(tab_spaces : Int32)
- #width : Int32
- #width=(width : Int32)