blob: 8cfc115d5ac9e5c76d040d3890ae61b01ea9c508 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|