From edcd3d7a9a255bc7a02dad4a28c797fd7406010b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 18 Aug 2022 12:07:50 -0700 Subject: [PATCH] dead code --- text.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/text.lua b/text.lua index 9c4a009..3c91361 100644 --- a/text.lua +++ b/text.lua @@ -525,8 +525,6 @@ end function Text.end_of_line(State) State.cursor1.pos = utf8.len(State.lines[State.cursor1.line].data) + 1 - local botpos = Text.pos_at_start_of_screen_line(State, State.cursor1) - local botline1 = {line=State.cursor1.line, pos=botpos} if Text.cursor_out_of_screen(State) then Text.snap_cursor_to_bottom_of_screen(State) end