diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:37:32 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:41:10 -0800 |
commit | c29be0ffce7132d607077b3e7dda342fc3c4c461 (patch) | |
tree | 321c7af322ae82e16c76d015fb0065f60cec0988 /source_text_tests.lua | |
parent | 961f29613197bace7925d14f492114fea7b81214 (diff) | |
download | lines.love-c29be0ffce7132d607077b3e7dda342fc3c4c461.tar.gz |
streamline button.lua
Diffstat (limited to 'source_text_tests.lua')
-rw-r--r-- | source_text_tests.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source_text_tests.lua b/source_text_tests.lua index 0b45232..0d2eb48 100644 --- a/source_text_tests.lua +++ b/source_text_tests.lua @@ -881,6 +881,7 @@ function test_select_text_using_mouse_starting_above_text_wrapping_line() Editor_state.screen_top1 = {line=2, pos=3} Editor_state.screen_bottom1 = {} -- press mouse above first line of text + edit.draw(Editor_state) edit.run_after_mouse_press(Editor_state, Editor_state.left+8,5, 1) -- selection is at screen top check(Editor_state.selection1.line ~= nil, 'selection:line-not-nil') |