Re: Source question

2002-12-07 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | Is this acceptable : | | bool someNewFunction(BufferView & bv) | { | someOldFunction(&bv); | } | | If we're not allowed to do this, then transitioning to using references | where pointers are not necessary is going to be really difficult As a tempo

Source question

2002-12-06 Thread John Levon
Is this acceptable : bool someNewFunction(BufferView & bv) { someOldFunction(&bv); } If we're not allowed to do this, then transitioning to using references where pointers are not necessary is going to be really difficult regards john -- "Yeah, I woke up in the day accidentally once,

Re: Source question

2001-12-07 Thread John Levon
On Fri, Dec 07, 2001 at 11:37:38AM +0100, Jean-Marc Lasgouttes wrote: > John> Why do we have the check for cursor.pos() ? It works fine > John> without, as we check cursor.par()->size() at the start. If we > John> change the above to always do > > I'll try to have a look this week end. don't bo

Re: Source question

2001-12-07 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> Why do we have the check for cursor.pos() ? It works fine John> without, as we check cursor.par()->size() at the start. If we John> change the above to always do I'll try to have a look this week end. John> setCursor(bview, cursor.

Source question

2001-12-06 Thread John Levon
in breakParagraph : 1739/* This check is necessary. Otherwise the new empty paragraph will 1740 * be deleted automatically. And it is more friendly for the user! */ 1741if (cursor.pos()) 1742setCursor(bview, cursor.par()->next(), 0); 1743else 1744