On 27.01.05, Johan Ingvast wrote:

> I find when writing that a common procedure is to first create a label and
> in the next moment inserting it. Also when creating labels they often
> comes in groups so I usually select labels from the same part of the list
> in a sequence.
> So I have a feauture request
> 
> There should be a preselected labels in the label selection dialog.
> The preselection shoule be changed by:
>     Making a new label.
>     Selecting a label.

Good idea, seconded.

> Then I must say that the Enter in the label selection dialog should be
> connected to OK and not "Goto" (ver 1.3.5-qt).  Maybe a "Insert" button
> would be good so that the dialog could stay open.

I remember this (mis)behaviour for several versions of LyX (qt and
xforms). I find it *very* annoying but always thought this had something
to do with my wired setup.
 
> I would also like to have a command that directly inserts the label that
> is preselected without having to open the dialog.

With the above fixes, this (and many other) could be achieved with a
"push-keypress" (or "simulate-keypress") function which could be used
together with "command-sequence" for some basic keypress-macros like e.g.

\bind M-S-A  "command-sequence push-keypress Enter; reference-insert;"

which should open the reference dialog and simulate an <Enter> key press
(and release).

G�nter

-- 
G.Milde web.de

Reply via email to