aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2015-06-25 18:15:30 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2015-06-25 18:15:30 +1000
commit688ff09921323f1fa6edb9bdcfb8a31b0b3b3f5d (patch)
tree0abdd1048fbfcf928a7008f2f2db7dbb58ab5d4a /src/Editor.cxx
parent2595948cb0c9e08cbf2bba5bae34c1b2aa3b8625 (diff)
downloadscintilla-mirror-688ff09921323f1fa6edb9bdcfb8a31b0b3b3f5d.tar.gz
Fix regression due to recent multiple-selection changes with the selection not
being redrawn after up/down cursor.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
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;