From cfdd5634995768c33485b02ee0a35c46a4a8e3a6 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 17 May 2022 19:15:12 -0700 Subject: let's prevent the text cursor from ever getting on a drawing --- manual_tests | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 manual_tests (limited to 'manual_tests') diff --git a/manual_tests b/manual_tests new file mode 100644 index 0000000..87740c8 --- /dev/null +++ b/manual_tests @@ -0,0 +1,7 @@ +file load: + cursor_line = 1 + first line is a drawing -> cursor_line = 2 +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 -- cgit 1.4.1-2-gfad0