On Thu, Feb 10, 2005 at 07:41:56PM +0100, Juergen Spitzmueller wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=1598 > > With the following patch (calling cur.normalize() in LFUN_UP and > LFUN_DOWN of math_nestinset), I cannot reproduce the crash anymore. > The problem is clearly that cur.idx() and cur.pos() need update after > an empty scriptinset has been removed. > > I am not sure, however, if this is the best solution (although I > obviously didn't find a better one). André, please have a look.
Calling cur.normalize() is never wrong and was intende exactly for this kind of problem. So if it fixes a crash, the change is fine. Andre'