Re: ESC for aborting long Advanced Find/Replace ops

2011-05-10 Thread Tommaso Cucinotta
Il 10/05/2011 16:38, Edwin Leuven ha scritto: Tommaso Cucinotta wrote: For c), it's a complete rewrite, so I'm not considering it for now :-). but this is the only way to go no? that depends on your vision of "only". For now, we have a feature that perhaps is not implemented in the best/most-

Re: ESC for aborting long Advanced Find/Replace ops

2011-05-10 Thread Edwin Leuven
Tommaso Cucinotta wrote: > For c), it's a > complete rewrite, so I'm not considering it for now :-). but this is the only way to go no? c is also more likely to happen without a and b, so maybe we should allow only real fixes and not ad-hoc workarounds (enrico would call it bloat i suspect) for

ESC for aborting long Advanced Find/Replace ops

2011-05-10 Thread Tommaso Cucinotta
Hi all, I just updated my previous patch that allows to abort a long Advanced F&R operation to the trunk of 1 or 2 days ago: http://www.lyx.org/trac/attachment/ticket/7217/lyx-findadv-abort.patch This works by "polling" the GUI events and, if the ESC key was pressed, abort it (with some ms