diff options
| author | Zufu Liu <unknown> | 2025-10-12 07:55:20 +1100 |
|---|---|---|
| committer | Zufu Liu <unknown> | 2025-10-12 07:55:20 +1100 |
| commit | cece03a9183181fe9b8bda0b7d0af587291c80ed (patch) | |
| tree | 5cf05f8529be3e0277a9f6e28043f941a1dae67b /src | |
| parent | 7c23127fa94e86d077d6b4098ab4e2379060d823 (diff) | |
| download | scintilla-mirror-cece03a9183181fe9b8bda0b7d0af587291c80ed.tar.gz | |
Bug [#2487]. When undo restores selection, ensure selection redrawn correctly.
Diffstat (limited to 'src')
| -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 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) |
