Re: [patch] bug 2756: LyX crashes on next-inset-toggle in math-mode

2006-08-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > OK, try this new version instead. I undid the simplifications to the > code, since they were wrong %-] So now the code for > LFUN_NEXT_INSET_TOGGLE is basically moved as is to BufferView::Pimpl. It seems to work as expected. I don't get the console output anymore, and

Re: [patch] bug 2756: LyX crashes on next-inset-toggle in math-mode

2006-08-09 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Please test. Juergen> Seems to work. However, LyX crashed two times on me while Juergen> testing this. I'm not sure it is related, and I couldn't Juergen> reproduce it, unfortunately. Juer

Re: [patch] bug 2756: LyX crashes on next-inset-toggle in math-mode

2006-08-09 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > It would be nice to know whether it is related to the patch. Yes. > Juergen> Also I get the debug output: I don't have a cell 1 > > Juergen> When I hit C-i in the outermost math inset. > > I cannot reproduce this. Details? - New document. - C-m - type "123" - move c

Re: [patch] bug 2756: LyX crashes on next-inset-toggle in math-mode

2006-08-09 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Please test. Juergen> Seems to work. However, LyX crashed two times on me while Juergen> testing this. I'm not sure it is related, and I couldn't Juergen> reproduce it, unfortunately. It w

Re: [patch] bug 2756: LyX crashes on next-inset-toggle in math-mode

2006-08-09 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Please test. Seems to work. However, LyX crashed two times on me while testing this. I'm not sure it is related, and I couldn't reproduce it, unfortunately. Also I get the debug output: I don't have a cell 1 When I hit C-i in the outermost math inset. Jürgen

Re: [patch] bug 2756: LyX crashes on next-inset-toggle in math-mode

2006-08-09 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=2756 I'm not sure Juergen> what LFUN_INSET_TOGGLE in mathed is actually supposed to do, Juergen> but the attached patch (against 1.4) fixes the reported Juergen> assert. It checks w