On Thu, Mar 06, 2003 at 03:15:38PM -0800, James Frye wrote: > Now another question from a lazy new user: would it be possible to > somehow define a macro to do that, and assign it to a key? It would work > sort of like importing Lex math formulas: mark the desired text, then hit > the key, and an ERT and the Lex command text are wrapped around it.
There is no way I know of to make this work with selected text. You could have two bindings to insert the two kinds of ERT, though. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)