Re: commit: Fix over-running of repeated commands.

From: Robert Staudinger <robsta_at_stereolyzer.net>
Date: Mon Sep 13 2004 - 14:17:09 CEST

[...]

> Fix "over-running" of repeated commands on slow machines.
> > I do this with the same sort of strategy as we employed for the
> scroll on vertical scroll commnads.
>
> I put in a one-shot idle loop handler into ap_EditMethods. When
> frequently repeated events like those from left-arrow, right-arrow,
> delete or backspace keys, I start the idle loop timer set a call back to
> the code that actually implements the left/right/delete etc.
> This also locks out the GUI controls. I then return.
>
> All commands to AbiWord are dropped until the idle handler that
> implements the left-arrow,right-arrow etc is run. This prevents these
> vents from queueing up and stops the caret over-running where the user
> wants to put it.

It works really well now for repeated paste. However, if <ctrl>+<v>
(paste) is held down there's still an "over-running" effect.

Rob
Received on Mon Sep 13 14:20:50 2004

This archive was generated by hypermail 2.1.8 : Mon Sep 13 2004 - 14:20:50 CEST