aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html3
-rw-r--r--src/Editor.cxx1
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 64374fd73..9d5379468 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -582,6 +582,9 @@
<a href="https://sourceforge.net/p/scintilla/bugs/2053/">Bug #2053</a>.
</li>
<li>
+ Notify with SC_UPDATE_SELECTION when user performs a multiple selection add.
+ </li>
+ <li>
On Cocoa, fix a crash that occurred when entering a dead key diacritic then a character
that can not take that diacritic, such as option+e (acute accent) followed by g.
<a href="https://sourceforge.net/p/scintilla/bugs/2061/">Bug #2061</a>.
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 4163c45b2..8a8bae6cc 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -773,6 +773,7 @@ void Editor::MultipleSelectAdd(AddNumber addNumber) {
selectedText.c_str(), searchFlags, &lengthFound);
if (pos >= 0) {
sel.AddSelection(SelectionRange(pos + lengthFound, pos));
+ ContainerNeedsUpdate(SC_UPDATE_SELECTION);
ScrollRange(sel.RangeMain());
Redraw();
if (addNumber == addOne)