On Mon, Nov 3, 2008 at 11:22 AM, Vicent Mas <[EMAIL PROTECTED]> wrote:
> 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).

Thanks.  The following does indeed work

    cursor = w.textCursor()
    cursor.movePosition(QtGui.QTextCursor.End)
    return cursor.position()

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

Reply via email to