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

From: <msevior_at_physics.unimelb.edu.au>
Date: Mon Sep 13 2004 - 14:37:35 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.

Do you mean repeated delete?

 However, if <ctrl>+<v>
> (paste) is held down there's still an "over-running" effect.
>

Oh, Good Idea. I can expand the code to handle repeated paste. I'm looking
at handling repeated regular keys now. Are there any other people can
think
of that should be allowed to overun?

Cheers

Martin

> Rob
>
>
Received on Mon Sep 13 14:37:41 2004

This archive was generated by hypermail 2.1.8 : Mon Sep 13 2004 - 14:37:41 CEST