aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-10-22 14:39:06 +1100
committerNeil <nyamatongwe@gmail.com>2016-10-22 14:39:06 +1100
commit6a54dbb6512ea1511e3cd24ec933e7b1c86b5ca4 (patch)
treed2a1f83c65dabefaf4a9fbe413300e953027160a
parent36f0eba08c2c3d9b40fd15aabe562d5577d76006 (diff)
downloadscintilla-mirror-6a54dbb6512ea1511e3cd24ec933e7b1c86b5ca4.tar.gz
Redraw previous selection when switching from rectangular selection to line
selection.
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 4733ae296..15848f056 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4499,6 +4499,7 @@ void Editor::ButtonDownWithModifiers(Point pt, unsigned int curTime, int modifie
} else { // Single click
if (inSelMargin) {
if (sel.IsRectangular() || (sel.Count() > 1)) {
+ InvalidateWholeSelection();
sel.Clear();
}
sel.selType = Selection::selStream;