cleaner
This commit is contained in:
parent
1e63bf0e0a
commit
96dfe4f669
5
text.lua
5
text.lua
|
@ -335,9 +335,8 @@ function Text.cursor_at_final_screen_line()
|
||||||
if Lines[Cursor1.line].screen_line_starting_pos == nil then
|
if Lines[Cursor1.line].screen_line_starting_pos == nil then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
i=#Lines[Cursor1.line].screen_line_starting_pos
|
screen_lines = Lines[Cursor1.line].screen_line_starting_pos
|
||||||
local spos = Lines[Cursor1.line].screen_line_starting_pos[i]
|
return screen_lines[#screen_lines] <= Cursor1.pos
|
||||||
return spos <= Cursor1.pos
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function Text.move_cursor_down_to_next_text_line_while_scrolling_again_if_necessary()
|
function Text.move_cursor_down_to_next_text_line_while_scrolling_again_if_necessary()
|
||||||
|
|
Loading…
Reference in New Issue