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
> "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
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
> "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
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
> "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
http://bugzilla.lyx.org/show_bug.cgi?id=2756
I'm not sure what LFUN_INSET_TOGGLE in mathed is actually supposed to do, but
the attached patch (against 1.4) fixes the reported assert. It checks whether
the cursor has left mathed before trying to get the cell inset.
OK for branch and trunk?
Jürg