From 2eaba8ab92bc37473e94b131bdaeb1a15a40ec96 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Wed, 4 May 2022 20:08:08 -0400 Subject: [PATCH] Erroneously added padding. --- data/plugins/linewrapping.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/linewrapping.lua b/data/plugins/linewrapping.lua index bcb237eb..c7ae6278 100644 --- a/data/plugins/linewrapping.lua +++ b/data/plugins/linewrapping.lua @@ -380,7 +380,7 @@ function DocView:get_line_screen_position(line, col) local x, y = self:get_content_offset() local lh = self:get_line_height() local gw = self:get_gutter_width() - return x + gw + style.padding.x + (col and self:get_col_x_offset(line, col) or 0), y + (idx-1) * lh + style.padding.y + return x + gw + (col and self:get_col_x_offset(line, col) or 0), y + (idx-1) * lh + style.padding.y end local old_resolve_screen_position = DocView.resolve_screen_position