about summary refs log tree commit diff stats
path: root/text_tests.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-04-01 20:03:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-04-01 21:44:27 -0700
commit29f1687f3c6a494eb67029acbeefbf11571bbe2c (patch)
treee3a0dad985b02a0b79564d69300451be6b08918b /text_tests.lua
parentd0d39797cff0a558162b73da8550c3914f2d1a89 (diff)
downloadlines.love-29f1687f3c6a494eb67029acbeefbf11571bbe2c.tar.gz
avoid saving fragments in lines
Now we render lines one screen line at a time rather than one word at a
time.

I can't port the source side just yet; I need to fix hyperlinks first..
Diffstat (limited to 'text_tests.lua')
-rw-r--r--text_tests.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_tests.lua b/text_tests.lua
index 4fe0ca8..cfdffdd 100644
--- a/text_tests.lua
+++ b/text_tests.lua
@@ -1007,7 +1007,7 @@ function test_pagedown_can_start_from_middle_of_long_wrapping_line()
   y = y + Editor_state.line_height
   App.screen.check(y, 'jkl ', 'screen:2')
   y = y + Editor_state.line_height
-  App.screen.check(y, 'mno ', 'screen:3')
+  App.screen.check(y, 'mn', 'screen:3')
 end
 
 function test_pagedown_never_moves_up()