Re: Commit: Scrolling improvements various fixes.

Subject: Re: Commit: Scrolling improvements various fixes.
From: Martin Sevior (
Date: Tue Jun 19 2001 - 23:09:56 CDT

On Wed, 20 Jun 2001, Mike Nordell wrote:

> Martin Sevior wrote:
> >
> > Scrolling improvements. Scrolling in X repaints again. Make
> > redrawUpdate pause for 500 milliseconds after a cursor movement
> > for more scrolling speed. Various other fixes.
> Is this an XP thing? I hope not. 0.5 seconds is an eternity while dealing
> with interactive applications.
> _While_ scrolling it might be a needed delay for X-windows, but sure isn't
> needed for Windows AFAICT.

Oh "X" means X-windows. Before these commit Abi rescanned the Entire
Document on every view every 100 milliseconds looking for dirty runs to
redraw. For large documents this is a real perfmance hit. Now if you do a
cursor motion, only, that rescan is delayed by 500 milliseconds.

I and many users often move around my document by holding down the arrow
keys. While doing a such a cursor motion you do not need to look for dirty
runs since you haven't changed anything. Each cursor motion resets the
delay to 500 milliseconds so if you do hold down the arrow keys you stop
recanning the document, keaving more CPU power for scrolls and repaints.

Once you let go the arrow keys regular 100 l=millisecond rescans start
again. I think it's neat anyway :-)

I think this rescanning can be much further improved (reaad
eliminated) but I'll wait till post 0.90 before attempting that. If people
find perforance problems please let me know. It's very easy to revert.



This archive was generated by hypermail 2b25 : Tue Jun 19 2001 - 23:10:23 CDT