From cf8d9774eac577b4cd4fdb77cbb27b6b46004756 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 18 Aug 2022 10:28:06 -0700 Subject: [PATCH] drop some obsolete args --- search.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/search.lua b/search.lua index e613ed7..01a832b 100644 --- a/search.lua +++ b/search.lua @@ -62,7 +62,7 @@ function Text.search_next(State) end if Text.lt1(State.cursor1, State.screen_top1) or Text.lt1(State.screen_bottom1, State.cursor1) then State.screen_top1.line = State.cursor1.line - local pos = Text.pos_at_start_of_cursor_screen_line(State, State.left, State.right) + local pos = Text.pos_at_start_of_cursor_screen_line(State) State.screen_top1.pos = pos end end @@ -110,7 +110,7 @@ function Text.search_previous(State) end if Text.lt1(State.cursor1, State.screen_top1) or Text.lt1(State.screen_bottom1, State.cursor1) then State.screen_top1.line = State.cursor1.line - local pos = Text.pos_at_start_of_cursor_screen_line(State, State.left, State.right) + local pos = Text.pos_at_start_of_cursor_screen_line(State) State.screen_top1.pos = pos end end