Dear list,

When scrolling from the first line of my document down with pagedown,
holding it until the whole document flew past, I was left with the last
line showing at the top of the screen.

I pondered how that is done, it would be nice if the mousewheel would
stop on the last line, rather than the hack I came up with
(4*defaultHeight()).

But after moving the cursor with the arrow keys, I couldn't reproduce
it! The lowest I could move with the arrows was halfway down, and with
pageup/down I couldn't reproduce what I first saw.

Somewhere there is an inconsistent test for the maximum value of
first_y. And I add to that, I used a hardcoded limit too in scroll().

Is there a global value for the limit of first_y? Why can't I reproduce
the pagedown thing after touching the arrows?

Have fun,
Darren



Reply via email to