aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html4
-rw-r--r--src/Editor.cxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 254178ae7..9d41f3cfa 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -606,6 +606,10 @@
<a href="https://sourceforge.net/p/scintilla/feature-requests/1563/">Feature #1563</a>.
</li>
<li>
+ Ensure selection drawn correctly when selection restored by undo.
+ <a href="https://sourceforge.net/p/scintilla/bugs/2487/">Bug #2487</a>.
+ </li>
+ <li>
On Win32, force autocompletion list colours to be opaque.
Enlarge bitmap to avoid visible blank background between items.
<a href="https://sourceforge.net/p/scintilla/bugs/2482/">Bug #2482</a>.
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f5b6b2c03..bde9cff73 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2434,6 +2434,7 @@ void Editor::RestoreSelection(Sci::Position newPos, UndoRedo history) {
}
}
newPos = -1; // Used selection from stack so don't use position returned from undo/redo.
+ Redraw();
}
}
if (newPos >= 0)