On Mon, Nov 04, 2002 at 06:45:13PM +0100, Andre Poenitz wrote: > 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...
It would be better than the current behavior.