[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Re: StrongEd v4.70a11 scrolling



In message <560abc30aalist01@xxxxxxxxxxxxxxxx>
          Martin <list01@xxxxxxxxxxxxxxxx> wrote:

> In article <0ad9b50a56.fjgraute@xxxxxxxxx>,
>    Fred Graute <fjgraute@xxxxxxxxx> wrote:
> > In message <560aa8bbc8list01@xxxxxxxxxxxxxxxx>
> >           Martin <list01@xxxxxxxxxxxxxxxx> wrote:
> 
> > > All as expected and good ... but how can I slow down the repeated
> > > scrolling so it is useful, not an annoyance?
> 
> > There is an option in Global Choices -> Display that lets you set a
> > delay for auto-scrolling.
> 
> Ahah! I had assumed that was the delay before Wimp_AutoScroll was invoked.
> It does indeed seem to be the delay between repeating scroll requests,
> and 10 cs seems much better for me - though it may get fine-tuned.

Auto-scrolling in StrongED refers to automatic repeat scrolling. It
probably predates Wimp_AutoScroll (RO 4+) by a number of years.

> > It does make scrolling a bit jerky though making it harder to read
> > along than using a smaller scroll distance but it does mean
> > scrolling speed is more or less constant. If you change the
> > scrolling distance scrolling is smooth but the speed than depends on
> > the size of the window.
> 
> Looks like a usable compromise.

I's workable but I'm still not very happy with it. I've done some more
experiments with changing the scroll distance. A scroll delay of 1 cs
with a scroll distance of 4 OS units results in about the same scroll
speed as a delay of 10 cs (with distance automatically set to line
height) but scrolling is much smoother.

So, I may change this and make both delay and distance configurable.

> > > I am using RO5.23 on an Iyonix, but I have not checked if it is 
> > > dependant on machine speed.
> 
> > Line by line scrolling isn't affected much by machine speed certainly
> > from the Iyonix upwards (the scroll events are tied to the centisecond
> > timer).

Oops, got that wrong. The above is true when scroll events are set to
auto-repeat (in the template file) but StrongED uses debounced scroll
events. It's the null event handler that deals with auto-scroll.

> > Page by page scrolling is very much affected by machine speed. Newer
> > machines past Iyonix are much faster.
> 
> But presumably using the 'auto_scroll' delay ties both to the cs timer?

Yes, it forces the null event handler to wait until the delay has passed
before it calls the scroll code.

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

--=20
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx
List archives at http://www.Torrens.org.uk/RO/StrongED/index.html