Re: static varible in member function.

2006-12-15 Thread Bo Peng
> You can always make it a member variable. This is your feature ;-) Done. Now I will look at two other assertion errors that crashes lyx. Bo

Re: static varible in member function.

2006-12-15 Thread Abdelrazak Younes
Bo Peng wrote: I really don't like static variables. They proved to be no end of trouble when supporting multiple platforms. And in this case the variable is shared among multiple BufferView, which is wrong. You can always make it a member variable. This is your feature ;-) Abdel.

Re: static varible in member function.

2006-12-15 Thread Bo Peng
I really don't like static variables. They proved to be no end of trouble when supporting multiple platforms. And in this case the variable is shared among multiple BufferView, which is wrong. You can always make it a member variable. Bo

Re: static varible in member function.

2006-12-15 Thread Abdelrazak Younes
Bo Peng wrote: BufferView.C: line 1063 // // Abdel 07/12/06: I don't think the static solution will work in // a multiple BufferView context. I guess the concern is that last_inset may be somehow invalid when moving between windows. I tried really hard to produce such a case but fai

static varible in member function.

2006-12-15 Thread Bo Peng
BufferView.C: line 1063 // // Abdel 07/12/06: I don't think the static solution will work in // a multiple BufferView context. I guess the concern is that last_inset may be somehow invalid when moving between windows. I tried really hard to produce such a case but failed.