Hi,
Sorry, but I can't find an easy way to translate this line of Qt4/C++
code to PyQt4 :
qDebug() << "void MyTextEdit::paintEvent(QPaintEvent* event) from position: " << startPosition.block().position()
<< " to " << endPosition.block().position() + endPosition.block().length();
Thanks for any answer,
Christophe.