dead code

This commit is contained in:
Kartik K. Agaram 2022-08-18 12:07:50 -07:00
parent 1d3c9f4708
commit edcd3d7a9a
1 changed files with 0 additions and 2 deletions

View File

@ -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