From 7a59a0b86002f9a0fafdd48d77a2a950f7d2b3c2 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 4 Dec 2015 10:23:09 +1100 Subject: Bug [#1784]. Highlight whole run for hover indicator when wrapped. Less efficient now as redraws all text when hover position changes. --- src/Editor.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index 742fb41d4..5014b2abb 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4585,10 +4585,7 @@ void Editor::SetHoverIndicatorPosition(int position) { } } if (hoverIndicatorPosPrev != hoverIndicatorPos) { - if (hoverIndicatorPosPrev != INVALID_POSITION) - InvalidateRange(hoverIndicatorPosPrev, hoverIndicatorPosPrev + 1); - if (hoverIndicatorPos != INVALID_POSITION) - InvalidateRange(hoverIndicatorPos, hoverIndicatorPos + 1); + Redraw(); } } -- cgit v1.2.3