aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/selectionhighlight.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/selectionhighlight.lua b/plugins/selectionhighlight.lua
index 76e0617..25a6125 100644
--- a/plugins/selectionhighlight.lua
+++ b/plugins/selectionhighlight.lua
@@ -17,6 +17,7 @@ end
local draw_line_body = DocView.draw_line_body
function DocView:draw_line_body(idx, x, y)
+ draw_line_body(self, idx, x, y)
local line1, col1, line2, col2 = self.doc:get_selection(true)
if line1 == line2 and col1 ~= col2 then
local selection = self.doc:get_text(line1, col1, line2, col2)
@@ -38,6 +39,5 @@ function DocView:draw_line_body(idx, x, y)
end
end
end
- draw_line_body(self, idx, x, y)
end