Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: Do I feel more comfortable? Not much, as now one has to remember to add a member variable to this list (and hopefully I didn't miss one in the first place). What do you think? That Tabular should be merged with InsetTabular. Or at

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Alfredo Braunstein wrote: >> Jean-Marc Lasgouttes wrote: >> >>> Wouldn't it be safer to define a Tabular::operator= and update the >>> pointers there? Or it is that I do not know what I am talking about? >>> >> >> This would be it. > Why do you define operator=()

Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Jean-Marc Lasgouttes wrote: Wouldn't it be safer to define a Tabular::operator= and update the pointers there? Or it is that I do not know what I am talking about? This would be it. Why do you define operator=() ? Implementing the copy ctor is sufficent AF

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Wouldn't it be safer to define a Tabular::operator= and update the > pointers there? Or it is that I do not know what I am talking about? This would be it. Do I feel more comfortable? Not much, as now one has to remember to add a member variable to this list (and ho

Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Wouldn't it be safer to define a Tabular::operator= and update the pointers there? Or it is that I do not know what I am talking about? operator= will automatically use the copy ctor. But Alfredo's pa

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: >> This seems to fix it. The problem was that a default Tabular::Tabular was >> called and so InsetTableCell inside CellData inside a new Tabular still >> pointed to the old Tabular. > > Wouldn't it be safer to define a Tabular::operator= and update the > pointers ther

Re: crash on tabular

2008-05-23 Thread Jean-Marc Lasgouttes
Alfredo Braunstein <[EMAIL PROTECTED]> writes: > Alfredo Braunstein wrote: > >> File->New >> Insert table, leave 5x5 default >> select it, cut it paste it. enter the table with the cursor -> crash > > This seems to fix it. The problem was that a default Tabular::Tabular was > called and so InsetTa

Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Alfredo Braunstein wrote: File->New Insert table, leave 5x5 default select it, cut it paste it. enter the table with the cursor -> crash This seems to fix it. The problem was that a default Tabular::Tabular was called and so InsetTableCell inside CellData ins

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > File->New > Insert table, leave 5x5 default > select it, cut it paste it. enter the table with the cursor -> crash This seems to fix it. The problem was that a default Tabular::Tabular was called and so InsetTableCell inside CellData inside a new Tabular still pointed

Re: crash on tabular

2008-05-20 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Alfredo Braunstein <[EMAIL PROTECTED]> writes: > >> File->New >> Insert table, leave 5x5 default >> select it, cut it paste it. enter the table with the cursor -> crash > > You only visit us for bad news, don't you? I leave you alone for 5 minutes and you manage to

Re: crash on tabular

2008-05-20 Thread Jean-Marc Lasgouttes
Alfredo Braunstein <[EMAIL PROTECTED]> writes: > File->New > Insert table, leave 5x5 default > select it, cut it paste it. enter the table with the cursor -> crash You only visit us for bad news, don't you? JMarc

Re: crash on tabular

2008-05-20 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: I hope I don't have to say to you that you are welcome to give comment even if you are not actively participating, do I? Uhm. What about: one of LyX strongest points has always been social skills of its developers That's a good one.

Re: crash on tabular

2008-05-20 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Alfredo Braunstein wrote: >> Abdelrazak Younes wrote: >> >> >>> That was just a way to say "Welcome back Alfredo!" :-) >>> >> >> Thanks but you know, I never really left, I'm just not doing anything >> useful :-/ >> > > So you are secretly having fun watching

Re: crash on tabular

2008-05-20 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: That was just a way to say "Welcome back Alfredo!" :-) Thanks but you know, I never really left, I'm just not doing anything useful :-/ So you are secretly having fun watching us having our little dramas? Bad boy... I hope I d

Re: crash on tabular

2008-05-20 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Alfredo Braunstein wrote: >> File->New >> Insert table, leave 5x5 default >> select it, cut it paste it. enter the table with the cursor -> crash >> > Why don't you fix it? Let us call it plan B :-p > That was just a way to say "Welcome back Alfredo!" :-) Thanks bu

Re: crash on tabular

2008-05-20 Thread Abdelrazak Younes
Alfredo Braunstein wrote: File->New Insert table, leave 5x5 default select it, cut it paste it. enter the table with the cursor -> crash Why don't you fix it? That was just a way to say "Welcome back Alfredo!" :-) Abdel.