diff options
-rw-r--r-- | edit.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/edit.lua b/edit.lua index 3c7a5ad..3f9c73c 100644 --- a/edit.lua +++ b/edit.lua @@ -88,6 +88,7 @@ function edit.invalid1(State, loc1) return loc1.pos > #State.lines[loc1.line].data end +-- return y drawn until function edit.draw(State) App.color(Text_color) if #State.lines ~= #State.line_cache then @@ -120,6 +121,7 @@ function edit.draw(State) if State.search_term then Text.draw_search_bar(State) end + return y end function edit.update(State, dt) |