From cece03a9183181fe9b8bda0b7d0af587291c80ed Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sun, 12 Oct 2025 07:55:20 +1100 Subject: Bug [#2487]. When undo restores selection, ensure selection redrawn correctly. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) -- cgit v1.2.3