aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorZufu Liu <unknown>2025-10-12 07:55:20 +1100
committerZufu Liu <unknown>2025-10-12 07:55:20 +1100
commitcece03a9183181fe9b8bda0b7d0af587291c80ed (patch)
tree5cf05f8529be3e0277a9f6e28043f941a1dae67b /src
parent7c23127fa94e86d077d6b4098ab4e2379060d823 (diff)
downloadscintilla-mirror-cece03a9183181fe9b8bda0b7d0af587291c80ed.tar.gz
Bug [#2487]. When undo restores selection, ensure selection redrawn correctly.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx1
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)