From 99c711d41a86d87f17efdaf2159fa93818de5f1e Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Thu, 25 Jun 2015 18:15:30 +1000 Subject: Fix regression due to recent multiple-selection changes with the selection not being redrawn after up/down cursor. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index a3f9e1845..29186365e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3080,8 +3080,8 @@ void Editor::CursorUpOrDown(int direction, Selection::selTypes selt) { SetRectangularRange(); MovedCaret(posNew, caretToUse, true); } else { + InvalidateWholeSelection(); if (!additionalSelectionTyping || (sel.IsRectangular())) { - InvalidateWholeSelection(); sel.DropAdditionalRanges(); } sel.selType = Selection::selStream; -- cgit v1.2.3