David Leimbach
2002-11-03 17:20:52 UTC
Hi guys.
I noticed the following code in katedocument.cpp today in CVS.
bool KateDocument::insertText( uint line, uint col, const QString &s)
{
return insertText (line, col, s, false);
}
Why not a default parameter for:
bool KateDocument::insertText( uint line, uint col, const QString &s,
bool blockwise = false);
which would allow us to have the same behavior as if we had the 3
argument and 4 argument functions
as the user could call it either way.
Dave
I noticed the following code in katedocument.cpp today in CVS.
bool KateDocument::insertText( uint line, uint col, const QString &s)
{
return insertText (line, col, s, false);
}
Why not a default parameter for:
bool KateDocument::insertText( uint line, uint col, const QString &s,
bool blockwise = false);
which would allow us to have the same behavior as if we had the 3
argument and 4 argument functions
as the user could call it either way.
Dave
Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<