On Mon, 22 Mar 2004, Angus Leeming wrote:

> Things have changed in LyX 1.4.x. You'd use
> Insert->Special Formatting->Vertical Space
> which can be bound to the accelerator key of your choice.

Does any of the GUI (Qt, Xforms) allow you to define shortcuts that takes
the time into consideration, e.g differentiating between a
"single-keypressing" versus a "double-keypressing", just like we for a
mouse have single-clicking and double-clicking.

In this case, the logic could be something like:
* If you press 'enter' followed by not 'enter', within half a second 
  you get a paragraph-break.

* If you press 'enter' followed by 'enter' within half a second you do
  something else (e.g. Insert->...->Vertical Space)?

Or would this be considered bad UI?

One drawback is of course that for this example it'd take 0.5s before 
you'd get a paragraph-break... OTOH, it typically takes about 0.15s to 
type enter twice so 0.5s is a bit big.

/Christian

-- 
Christian Ridderström                           http://www.md.kth.se/~chr


Reply via email to