>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Am Sonntag, 13. November 2005 13:01 schrieb Juergen
Georg> Spitzmueller:
>> The attached patch reimplements setDefaultParagraphs in
>> insettabular, as described in bug 1953. However, the paragraph
>> merging problem described
Georg> there
>> is not fixed (this is a different problem, independent from
>> setDefaultParagraphs; I got that wrong).

Georg> I think the code would be clearer without the tabular special
Georg> casing in LyXText::dispatch() and LyXFunc::getStatus() and the
Georg> new code in InsetTabular::forceDefaultParagraphs() instead.
Georg> Does that not work?

The problem is probably (as in bugs 1952/53) that there is no way when
the cursor is in a tabular (top.inset() is the insettabular) to access
the insettext itself (the cell). InsetTabular suffers from some
personality disorder: it is a tabular from the outside, but an
insettext from the inside. I am not sure what we can do about it. The
special insettabular code may be OK for now, but we have to make sure
that we'll eventually fix it.

JMarc

Reply via email to