On Wed Feb 18, 2026 at 23:05:01 GMT +01, Neil wrote:
> The issue is that changing the property (`case Message::SetTabDrawMode:`)
> does not invalidate the layout so the cached positions are retained.
>
> It needs to call something like `InvalidateStyleRedraw` when there is a
> real change to the tab draw mode. `SetAppearance` may be useful.
>
> This invalidation wasn't needed before as LongArrow versus StrikeOut are
> just cosmetic modes with no position change.
>
Here is a version that calls SetAppearance().
But honestly I couldn't provoke any issue with the first version
of the patch either. I modified bait.c to allow toggling through
the tab draw mode by pressing F1 (see attachment).
@Neil Did you test with a GTK build of SciTE?
Best regards,
Robin