On 7.04.08, Andre Poenitz wrote: > On Mon, Apr 07, 2008 at 11:25:45PM +0200, Daniel Lohmann wrote: > > On 07.04.2008, at 16:01, Ethan Metsger wrote: > >> On Mon, 07 Apr 2008 09:04:16 -0400, Daniel Lohmann > >> > >>> AFAIK there is, unfortunately, no LFUN for this > >>> I too would really appreciate a keyboard shortcut. > >> > >> I was under the impression that using CTRL-I would do the job. I just > >> tested it on 1.5.2/Ubuntu and it seems to work just fine.
As long as your ERT is short, you might not see a difference. Howerver, longer ERT is clipped (with an ellipsis adde to the box). Try a right click on the ERT box and set Display to Inline to see the difference (also, the button converts to a frame). > > Hm... Not on my system. Could you figure out the LFUN that is bound o > > CTRL+I? > It used to be inset-toggle but nowaday it seems to be > next-inset-toggle. Looks like the LFUN was renamed, as toggle-inset no longer exists in 1.5.4. next-inset-toggle will open/close the next inset, whatever it is: 1. ERT boxes, Note boxes, Branch boxes, and floats will fold/unfold (i.e. show/hide the content) 2. Label and reference buttons will show the dialog window. Having a common LFUN for these actions has pros and cons: + in both cases, after "opening" you can edit the content of the box. - for type-2 insets the "open box" is not part of the document but a dialog window (which cannot be closed by next-inset-toggle). The same type of dialog is only reachable with a right-click on the button of type-1 insets. My suggestion would be a new LFUN "next-inset-configure" that will open a dialog window in any case: 1. The dialog currently only accessible with right-click for ERT boxes, Note boxes, Branch boxes, and floats. 2. The diaolog currently accessible by left-click, right-click, or next-inset-toggle for type 1 (Label and reference) insets. For ease of use, next-inset-toggle could continue to pop up the dialog for type-1 insets (this is consistent with the current click-behaviour where both right- and left-click open the dialog. Guenter