Hi,

I suppose you can use the QTextCursor, move it to the end of your document and 
then call  its position method (but I haven't tested it).

Hope it helps.

El Monday 03 November 2008 Edward K. Ream escribió:
> It there a way to get the length of the text in a QTextEdit without
> calling w.toPlainText()?
>
> Something like w.textLength() would substantially reduce the number of
> allocated strings in my app.
>
> Thanks.
>
> Edward
> --------------------------------------------------------------------
> Edward K. Ream email: [EMAIL PROTECTED]
> Leo: http://webpages.charter.net/edreamleo/front.html
> --------------------------------------------------------------------
> _______________________________________________
> PyQt mailing list    [email protected]
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



-- 
::

        Share what you know, learn what you don't


_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to