diff options
-rw-r--r-- | plugins/extend_selection_line.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extend_selection_line.lua b/plugins/extend_selection_line.lua index a780fe0..e986597 100644 --- a/plugins/extend_selection_line.lua +++ b/plugins/extend_selection_line.lua @@ -4,6 +4,7 @@ local style = require "core.style" local draw_line_body = DocView.draw_line_body function DocView:draw_line_body(idx, x, y, ...) + draw_line_body(self, idx, x, y, ...) local lh = self:get_line_height() for _, line1, _, line2, _ in self.doc:get_selections(true) do if idx >= line1 and idx < line2 and line1 ~= line2 then @@ -15,5 +16,4 @@ function DocView:draw_line_body(idx, x, y, ...) end end end - draw_line_body(self, idx, x, y, ...) end |