On Mon, Nov 04, 2002 at 07:29:26PM +0200, Dekel Tsur wrote:
> It shouldn't be much of problem. The solution is to do something similar
> to what is done when pressing ctrl+b inside \mathbf inset:
> When the user inserts any math element inside \textrm,
> lyx should exit the \textrm inset if the cursor is at the end of the inset,
> and otherwise the inset should be broken into two.

How do we distinguish "text" and "math"? I.e. is 'a' text or math?

Ok. Maybe we could hardcode "symbol is math", "char is neutral", "space
is text". But I believe we will run into lots of not-so-obvious
constallations...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to