3 ms·
Maybe I'm weird, but I want the scrolling animation to go by pixel, but then I always want my editor window aligned to the nearest line when I'm not scrolling.
by tikhonj 14y ago
Maybe I'm weird, but I want the scrolling animation to go by pixel, but then I always want my editor window aligned to the nearest line when I'm not scrolling. It's always a little annoying to have a half-obscured line at the bottom, or, even worse, top of my screen. This would just be compounded by the fact that I tend to split my editing window into fairly little blocks for running stuff like shells, so I would have a lot of lines obscured like that.
- johncoltrane 14y agoYou are not weird but you want mutually exclusive things.
- tikhonj 14y agoNot 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).
- johncoltrane 14y agoWell, 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.
- Tyr42 14y agoHe wants the animation to be smooth, but once you finish scrolling, it should be align itself to the nearest line.
- johncoltrane 14y agoThanks for clarifying the question.