CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/wp/ap/xp/ap_EditMethods.cpp
CVS:
----------------------------------------------------------------------
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.
Cheers
Martin
Received on Mon Sep 13 08:11:24 2004
This archive was generated by hypermail 2.1.8 : Mon Sep 13 2004 - 08:11:26 CEST