From 748f9cbc4f2a9d7a4216feaa37aee8e834123f0c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 28 Feb 2026 20:11:48 +0100 Subject: fixup: update the line layout cache when changing the tab draw mode This is important when caching the line layout, so that changing the tab draw mode to SCTD_CONTROLCHAR will actually change the identations. This is already in upstream Scintilla as part of 7621fda67d13735836c6f050d1eec8c691a68292. d4fa2014808092ddfaa0c97c1755af87a182be6b will not be merged upstream and should be refactored when rebasing on the next Scintilla version to keep down the number of touched lines. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor.cxx b/src/Editor.cxx index e971e02f1..d6822a351 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6994,7 +6994,7 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) { return static_cast(vs.tabDrawMode); case Message::SetTabDrawMode: - vs.tabDrawMode = static_cast(wParam); + SetAppearance(vs.tabDrawMode, static_cast(wParam)); Redraw(); break; -- cgit v1.2.3