blob: 8cfc115d5ac9e5c76d040d3890ae61b01ea9c508 (
plain) (
tree)
|
|
file load:
cursor_line = 1
first line is a drawing -> cursor_line = 2
click on text -> cursor moves
click on first character of text -> cursor on first character of text
click on drawing -> cursor doesn't move
create drawing -> cursor bumps down below drawing
backspace
cursor_pos == 0, previous line is a drawing -> delete drawing, cursor still visible at start of line
cursor_pos == 0, previous line is text -> join lines, cursor still at same character
enter
cursor_pos == 0 -> insert empty line above current line
|