Hi

This is about a _minor_ problem, for now I'm really only planning to
"bugzilla and forget" about it.

When you do for instance Insert->Math->AMS_Multline, you seem to do:
        math-mode; math-mutate align;

However, if you already are in math-mode, you accidentally insert a 
\textrm{} into the mathInset which in IMO is a bug.

One solution is to replace the command 'math-mode' with 
something like 'ensure-math-mode'? Is there such an LFUN?

Which makes me think.... why is it that 'math-mode' in a math-inset 
actually inserts a \textrm{}?
Shouldn't the LFUN be named something like 'math-mode-toggle' then?

Or this just a side-effect of that the keyboard bindings are the same for 
textEd and MathEd, i.e. C-m -> math-mode and the rest follows?

Anyway, these are mostly random thoughts since it's Friday.

/Christian

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


Reply via email to