about summary refs log tree commit diff stats
path: root/edit.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-08-06 19:54:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-08-06 19:54:10 -0700
commitfcb69f5fb65016c1b4f56db4321e43949f75a901 (patch)
tree0c2422b7643cd58492b9c88259db81f8a6008385 /edit.lua
parentba545efdafad3f842858ca6f72bcd5fca16baa70 (diff)
parentcaa736267b23b4e330d5f556fa96887eb953802a (diff)
downloadview.love-fcb69f5fb65016c1b4f56db4321e43949f75a901.tar.gz
Merge text.love
Diffstat (limited to 'edit.lua')
-rw-r--r--edit.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/edit.lua b/edit.lua
index 37240d8..7360304 100644
--- a/edit.lua
+++ b/edit.lua
@@ -92,7 +92,6 @@ function edit.invalid_cursor1(State)
   return cursor1.pos > #State.lines[cursor1.line].data + 1
 end
 
--- return y drawn until
 function edit.draw(State)
   love.graphics.setFont(State.font)
   App.color(Text_color)
@@ -117,7 +116,6 @@ function edit.draw(State)
   if State.search_term then
     Text.draw_search_bar(State)
   end
-  return y
 end
 
 function edit.update(State, dt)