mawww / kakoune

mawww's experiment for a better code editor
http://kakoune.org
The Unlicense
9.7k stars 705 forks source link

[BUG] Viewport motion no longer takes scrolloff into account #5178

Open ismay opened 1 month ago

ismay commented 1 month ago

Version of Kakoune

v2024.05.09

Reproducer

Outcome

The viewport will place the current line at the absolute top of the viewport, without taking the scroll offset into account (which it used to do before this version). So that means that if you press j after the above steps, the view will suddenly jump to apply the scroll offset.

Expectations

For the viewport motions (vt, vb, etc.) to take the scroll offset into account, as it used to do before the latest release.

Additional information

No response