2010/9/18 Jeremy Wall <jw...@google.com>: > Since YI snaps the window to center on the point scrolling off the > screen is a jarring experience. > > I've put together a couple patches that make scrolling work more > reasonable (in my opinion) by only moving the window the minimum > distance to keep the point visible. (one line up or down). > > I've sent two patches to this list but I have no way of knowing if > theyv'e been seen yet since the list is moderated. > > I'd appreciate any comments on the code. It's my first "real" haskell > code. It seems to work in the vty UI but I think the pango UI would > need to be patched as well. I'd be hapy to tackle that one as well but > I can't get pango to launch on my macbook so testing changes would be > difficult. > > Let me know what you think. > > -- > Yi development mailing list > yi-devel@googlegroups.com > http://groups.google.com/group/yi-devel
In Emacs the behavior you have implemented is commonly known as "smooth scrolling" and there is an option to turn it on or off. As Jean-Philippe says, it's mainly a performance issue. -- Deniz Dogan -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel