aboutsummaryrefslogtreecommitdiffhomepage
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
commit99c711d41a86d87f17efdaf2159fa93818de5f1e (patch)
tree98905321ba32749715b9d94fc9722ef8ea28b174
parent487f5f71f4e02ebf326c0f769750ab80d419d33d (diff)
downloadscintilla-mirror-99c711d41a86d87f17efdaf2159fa93818de5f1e.tar.gz
Fix regression due to recent multiple-selection changes with the selection not
being redrawn after up/down cursor.
-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;