diff options
author | Neil <nyamatongwe@gmail.com> | 2016-10-22 14:39:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-10-22 14:39:06 +1100 |
commit | 6a54dbb6512ea1511e3cd24ec933e7b1c86b5ca4 (patch) | |
tree | d2a1f83c65dabefaf4a9fbe413300e953027160a /src/Editor.cxx | |
parent | 36f0eba08c2c3d9b40fd15aabe562d5577d76006 (diff) | |
download | scintilla-mirror-6a54dbb6512ea1511e3cd24ec933e7b1c86b5ca4.tar.gz |
Redraw previous selection when switching from rectangular selection to line
selection.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 1 |
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; |