On 11 Feb 2021, at 16:56, Andrew Hodgkinson via TextMate wrote:
It just "feels like" there's some kind of scroll position recalculation happening on a thread whenever a tab regains focus, but this calculation isn't accounting for "unusual line heights" due to line wrap or (maybe) font sizes.
Just me?
Oh, no. There have been many reports/discussions of this issue. Back in Nov 2018, this is what Allan had to say:
The problem is that it stores a buffer offset as the “first character” but this may visually change due to delayed softwrap calculation.
It’s not a new issue: Once I get around to overhaul the text layout/rendering code, I expect to address this and other related issues.
The best tip I can give you for now is to wait for it to finish freaking out, then hit ⌃L to just to the actual cursor position.