>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> My analysis is as follows: The fix for bug 2094, which
Juergen> prevents coordOffset() from going into collapsed insets is
Juergen> not good enough, because it continues to descend down even in
Juergen> collapsed collapsables and returns cursorPos() if it enters a
Juergen> HIGHLY_EDITABLE or math inset there, which invalidates the
Juergen> cache.

Juergen> The fix is easy IMHO: don't descend collapsed insets. Patch
Juergen> attached. I think this should be fixed for 1.4.0, because the
Juergen> crash is very likely to happen. Testing is required, though.

There is something I do not understand: if the code arrives there, it
means that the cursor is already inside the inset, isn't it? How can
this happen when it is collapsed? Isn't _this_ the real bug we want to
fix?

JMarc

Reply via email to