| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 2 | |
Hi,
Should the following code always yield "==pos: 1" ?
It seems that the setPosition does not do anything.
----------
qDebug() << "--pos:" << textEdit->textCursor().position();
textEdit->textCursor().setPosition(1);
qDebug() << "==pos:" << textEdit->textCursor().position();
----------
Honglin Ye
--
[ signature omitted ]