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

Juergen> Now I do. The attached patch also closes a float when the
Juergen> cursor is in a nested tabular.

OK, here is my take on this problem. The main point (which was
crashing tabulars) is that you should never invoke in.dispatch(cur,
cmd) when cur.inset() != in. This crashes (for good reason)
InsetText::doDispatch. 

This code is able to find a collapsable inset in an arbitrary stack of
insets (table in table in footnote), just by setting
cur.undispatched() and letting LCurosr::dispatch find a good
candidate.

Comments?

JMarc

Reply via email to