aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2025-10-12 09:10:20 +1100
committerZufu Liu <unknown>2025-10-12 09:10:20 +1100
commitec7e01ee4f94c654849c763835d8f03b8398db82 (patch)
tree628057e8ee5cfe29f6f655c92a2456ee5c3b833e /src/Editor.cxx
parent98789ba72fbe438edc95e1fb7f50cf9431352858 (diff)
downloadscintilla-mirror-ec7e01ee4f94c654849c763835d8f03b8398db82.tar.gz
Bug [#2487]. Reduce work performed for SetSelectionSerialized.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index bde9cff73..9f3999b08 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -715,7 +715,7 @@ void Editor::SetSelectionFromSerialized(const char *serialized) {
sel = Selection(serialized);
sel.Truncate(pdoc->Length());
SetRectangularRange();
- InvalidateStyleRedraw();
+ Redraw();
}
}