diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-05-14 17:31:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-05-14 17:31:55 -0700 |
commit | 0f3841f1861d0d8ff4d86425769127e12cf5673c (patch) | |
tree | ff125d3c4f6f0c8f455a7121bf7543cbde956367 /source_text.lua | |
parent | 0d96fbe86038ef84bf24a9e893e15971db535d84 (diff) | |
parent | eb55e18e1dc6f45cdd26b815467f0bd2bf801787 (diff) | |
download | view.love-0f3841f1861d0d8ff4d86425769127e12cf5673c.tar.gz |
Merge lines.love
Diffstat (limited to 'source_text.lua')
-rw-r--r-- | source_text.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source_text.lua b/source_text.lua index ae5f88c..290d982 100644 --- a/source_text.lua +++ b/source_text.lua @@ -486,6 +486,7 @@ end function Text.down(State) assert(State.lines[State.cursor1.line].mode == 'text') --? print('down', State.cursor1.line, State.cursor1.pos, State.screen_top1.line, State.screen_top1.pos, State.screen_bottom1.line, State.screen_bottom1.pos) + assert(State.cursor1.pos) if Text.cursor_at_final_screen_line(State) then -- line is done, skip to next text line --? print('cursor at final screen line of its line') |