Hacker News new | comments | show | ask | jobs | submit login

Not in the least: I want smooth scrolling that snaps to the nearest line. I don't see how this is mutually exclusive or even unreasonable (at least for a text editor as opposed to something more free-form like a web browser).



Well, you can't have smooth scrolling without hiding parts of the top and bottom lines.

Smooth scrolling means that, at any point in time, the top of the topmost line of the viewport and the bottom of the lowest line of the viewport may be hidden.

Line-by-line scrolling means that all the lines have some kind preserved visibility.


He wants the animation to be smooth, but once you finish scrolling, it should be align itself to the nearest line.


Thanks for clarifying the question.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: