Files
1grzyb1 27aabf8301 VIM-4329 Fix k movement scrolling with so=9999
The sticky lines panel's height depends on the scroll position, so an exact middle doesn't always exist, and the old tolerance range let the previous position count as centred after every other k; instead, try the middle for each panel height we find and keep the closest position, staying put on a tie unless the caret moved to another line, so moves always scroll but typing never scrolls back and forth.
2026-10-27 11:40:44 +01:00
..