I pushed patches which simplify the code and (hopefully) fixes this the "proper" way.
Cheers, JP. On Tue, May 19, 2009 at 5:45 AM, Corey O'Connor <[email protected]> wrote: > > Mon May 18 23:37:57 EDT 2009 [email protected] > * Fixes scrolling when > 1 window views the same buffer in the current tab > Previously scrollB did not behave correctly in the following case: > 1. Split the current window into two windows onto the same buffer. (Vim: > control W S) > 1. Scrol the current window down (Vim: Control f) > The new window would get "stuck" and scrollB would appear to have no effect. > Instead of moving the from mark of the MarkSet this patch changes scrollB to > move the insertion > point. With pointDrive = True this results in scrolling working for all > windows onto a buffer. > Scrolling behavior is still odd. I'd expect to be able to define a window a > range of lines; scrollB > to shift the range of lines; and the insertion point associated with a > window to be adjusted > to satisfy a given constraint. > > M ./Yi/Buffer/HighLevel.hs -5 +5 > > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
