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
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,
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
> "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.
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