[PyKDE] Re: QTextEdit has unusable del method

Gerard Vermeulen gvermeul at grenoble.cnrs.fr
Mon Sep 9 11:25:01 BST 2002


 On Mon, Sep 09, 2002 at 08:31:14AM +0100, Phil Thompson wrote:
> Gerard Vermeulen wrote:
> 
> >Hi
> >
> >The QTextEdit.del() method is not usable, because it has a name
> >conflict with the del keyword.
> 
> 
> It will be renamed delChar() in the next version.
> 
> Thanks,
> Phil

If I understand the doc, del() will delete a selection of text, and only
if there is no selection a character close to the cursor.

Renameing to delete() is maybe less confusing than to delChar()

Gerard




More information about the PyQt mailing list