On Wed, 2005-04-06 at 10:15, Martin Vermeer wrote: > On Tue, Apr 05, 2005 at 11:03:19PM +0200, Helge Hafting wrote: > > Move into a math inset. > > Type \bmod > > It will show as red text. Press down arrow while it still is red, > > and lyx crashes with the usual emergency save. > > > > Pressing space or anything else that changes the hand-typed fucntion > > name from red to black avoids this crash. I can then exit the math inset > > using the down arrow. > > > > Helge Hafting > > Yes, I see that too. With any red function, in fact -- but it has to be > a _legal_ one. > > - Martin
OK, here's a patch for this one. The problem is an unfinished math macro is already defined as an inset, but hasn't drawn + added a coordinate cache entry yet. So it now tests for macro mode and does nothing then. (Were there any other keys that did this?) This contains the ncols() cursor pos fix and the deco/font wrap around selection stuff as well. I'll soon check in both, unless someone spots something fishy. - Martin
signature.asc
Description: This is a digitally signed message part