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 | 688ff09921323f1fa6edb9bdcfb8a31b0b3b3f5d (patch) | |
tree | 0abdd1048fbfcf928a7008f2f2db7dbb58ab5d4a /src | |
parent | 2595948cb0c9e08cbf2bba5bae34c1b2aa3b8625 (diff) | |
download | scintilla-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')
-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; |