diff options
author | Neil <nyamatongwe@gmail.com> | 2018-11-29 07:50:35 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-11-29 07:50:35 +1100 |
commit | f18c7c8cdcbd00681dee4d8110c2b767f1d7f5f8 (patch) | |
tree | bdb34d39d571684535ee4d2da25cf4f53050ddb4 | |
parent | d51da684fea2b1789e33fa4856ed58a07928f7a5 (diff) | |
download | scintilla-mirror-f18c7c8cdcbd00681dee4d8110c2b767f1d7f5f8.tar.gz |
Notify with SC_UPDATE_SELECTION when user performs a multiple selection add.
-rw-r--r-- | doc/ScintillaHistory.html | 3 | ||||
-rw-r--r-- | src/Editor.cxx | 1 |
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) |