Katedocument.cpp inserttext member function

David Leimbach <[email protected]> Sun, 3 Nov 2002 11:20:52 -0600
Newsgroups gmane.comp.kde.devel.general,gmane.comp.kde.devel.kate
Message-ID <[email protected]>
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

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<