about summary refs log tree commit diff stats
path: root/edit.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-04-03 09:23:28 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-04-03 09:23:28 -0700
commite406fdae0d41b853b8cb26759258b5a1b29618f7 (patch)
tree6427ebccee42668f6ecbbacdb24f46c498a156f0 /edit.lua
parent3547c18db6b9d508fb5c2399c124e33f4cc8c488 (diff)
parent282983d0848db077c0dd6400a6f29b34f78f5806 (diff)
downloadtext.love-e406fdae0d41b853b8cb26759258b5a1b29618f7.tar.gz
Merge lines.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 ac60aa8..2c1b7e1 100644
--- a/edit.lua
+++ b/edit.lua
@@ -115,7 +115,6 @@ function edit.draw(State)
       startpos = State.screen_top1.pos
     end
     y, State.screen_bottom1.pos = Text.draw(State, line_index, y, startpos)
-    y = y + State.line_height
 --?     print('=> y', y)
   end
   if State.search_term then
@@ -352,7 +351,6 @@ function edit.update_font_settings(State, font_height)
   State.font_height = font_height
   love.graphics.setFont(love.graphics.newFont(State.font_height))
   State.line_height = math.floor(font_height*1.3)
-  Text_cache = {}
 end
 
 --== some methods for tests