From 883ad16cd253d25963edc020ea1c1d827de74b79 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 29 Oct 2024 18:46:33 -0700 Subject: some more renames --- text.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text.lua') diff --git a/text.lua b/text.lua index e3802c6..da4d2a1 100644 --- a/text.lua +++ b/text.lua @@ -610,7 +610,7 @@ function Text.pos_at_end_of_screen_line(State, loc1) assert(false, ('invalid pos %d'):format(loc1.pos)) end -function Text.final_text_loc_on_screen(State) +function Text.final_loc_on_screen(State) local screen_bottom1 = Text.screen_bottom1(State) return { line=screen_bottom1.line, @@ -926,7 +926,7 @@ function Text.tweak_screen_top_and_cursor(State) State.cursor1 = deepcopy(State.screen_top1) elseif State.cursor1.line >= screen_bottom1.line then if Text.cursor_out_of_screen(State) then - State.cursor1 = Text.final_text_loc_on_screen(State) + State.cursor1 = Text.final_loc_on_screen(State) end end end -- cgit 1.4.1-2-gfad0