On 6.04.05, Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: > >Angus> You can do this for all ERT insets in your document with > >Angus> $ sed ... > > > >I guess you'll agree with me that being forced to do that is a bit > >silly :) The question is: what good binding could we have for that?
I will not need a binding for conversion of all ERT insets if I could do it right the first time --> I'd like to be able to configure what "flavour" of ERT I get with Ctrl-L. > It's not so easy as that for 1.3.x. The dialog controller just invokes > the relevant inset member function. No LFUNs used. So, please consider LFUNS for 1.4.x. Maybe just an (optional?) argument to ert-inset, then I could bind \bind "C-l" "ert-insert open" or \bind "C-l" "ert-insert inline" Maybe the same function could be used to switch between open/inline if the cursor is in an ERT inset. Another possibility would be a new LFUN "ert-set" and the above becomes \bind "C-l" "ert-insert" # default is open or \bind "C-l" "command-sequence ert-insert; ert-set inline;" G�nter -- G.Milde web.de
