diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-18 01:56:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-18 01:56:42 -0700 |
commit | f6596832fd50b3c640b5ed0707ddd0fda845d75e (patch) | |
tree | 94a7da182fb6391f98196ba55eb4264593e57801 /source_edit.lua | |
parent | cb261f56b2e6cad297921a4d4457c0fbf2d78103 (diff) | |
parent | cf227f9031a6b8a9186b534bc51425655a7e0970 (diff) | |
download | text.love-f6596832fd50b3c640b5ed0707ddd0fda845d75e.tar.gz |
Merge lines.love
Diffstat (limited to 'source_edit.lua')
-rw-r--r-- | source_edit.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source_edit.lua b/source_edit.lua index c17ce26..4f55083 100644 --- a/source_edit.lua +++ b/source_edit.lua @@ -124,7 +124,7 @@ function edit.fixup_cursor(State) end end -function edit.draw(State) +function edit.draw(State, hide_cursor) State.button_handlers = {} App.color(Text_color) if #State.lines ~= #State.line_cache then @@ -170,7 +170,7 @@ function edit.draw(State) end, }) end - y, State.screen_bottom1.pos, State.screen_bottom1.posB = Text.draw(State, line_index, y, startpos, startposB) + y, State.screen_bottom1.pos, State.screen_bottom1.posB = Text.draw(State, line_index, y, startpos, startposB, hide_cursor) y = y + State.line_height --? print('=> y', y) elseif line.mode == 'drawing' then |