about summary refs log tree commit diff stats
path: root/source_text.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source_text.lua')
-rw-r--r--source_text.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/source_text.lua b/source_text.lua
index 3f5ec74..b68bf85 100644
--- a/source_text.lua
+++ b/source_text.lua
@@ -12,7 +12,7 @@ function Text.draw(State, line_index, y, startpos, hide_cursor)
   local x = State.left
   local pos = 1
   local screen_line_starting_pos = startpos
-  Text.compute_fragments(State, line_index)
+  Text.populate_screen_line_starting_pos(State, line_index)
   local pos = 1
   initialize_color()
   for _, f in ipairs(line_cache.fragments) do