Georg Baum wrote:

> Am Montag, 15. November 2004 15:05 schrieb Alfredo Braunstein:
>> I thought that dialogs were associated with insets somehow. No idea
> how ;-)
> 
> The only connection I found so far is parameter exchange via the mailers
> in string form.

Right. In fact the "association" would be a bad idea. ;-)
 
> Yes.
> 
>> Something like
>> 
>> for (unsigned i = cur.size() - 1; i >= 0; --i)
>> ifÂ(cur[i].inset().lyxCode()Â==ÂInsetBase::TABULAR_CODE) {
>>                 in = cur[i].inset();
>> idxÂ=Âcur[i].idx();
>>                 ...
>>         }
> 
> It works! Even with nested tables. I changed the keyword parsing in
> InsetTabularMailer::string2params() so that it is similar to
> InsetGraphicsMailer::string2params(), because we don't have the special
> return value -1 anymore.

Cool.

> Is the attached patch ok?

No, seems like you picked the wrong patch ;-) 

PS: I'm traveling back to Argentina, so I may be out of touch for a few
days.

Alfredo


Reply via email to