Closed AndreiNekrasOn closed 7 months ago
I think I fixed this with 21d5297. Can you confirm?
The issue was that wrapped lines sometimes force you to scroll more lines than necessary and Neoscroll would try to backtrack which could result in an endless loop. Backtracking is not something it should do anyways so this change prevents backtracking one overshooting the target line.
Yes, now this works as expected.
I came into this issue randomly, and was able to reproduce it only on a specific file. When I move into the last line of the file that has wrapped lines and call
zz
, the scroll starts flickering.How to reproduce:
long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line long line
short line short line short line short line short line short line short line short line short line short line short line short line short line short line short line short line short line