From ec7e01ee4f94c654849c763835d8f03b8398db82 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sun, 12 Oct 2025 09:10:20 +1100 Subject: Bug [#2487]. Reduce work performed for SetSelectionSerialized. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } } -- cgit v1.2.3