[PyKDE] Re: QTextEdit has unusable del method
Phil Thompson
phil at river-bank.demon.co.uk
Mon Sep 9 11:32:01 BST 2002
Gerard Vermeulen wrote:
> 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()
I chose it to be consistent with other similar (but I agree not
identical) situations.
Phil
More information about the PyQt
mailing list