aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx5
1 files changed, 1 insertions, 4 deletions
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();
}
}