diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2015-06-25 18:15:30 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2015-06-25 18:15:30 +1000 |
commit | 99c711d41a86d87f17efdaf2159fa93818de5f1e (patch) | |
tree | 98905321ba32749715b9d94fc9722ef8ea28b174 | |
parent | 487f5f71f4e02ebf326c0f769750ab80d419d33d (diff) | |
download | scintilla-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.cxx | 2 |
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; |