PDA

View Full Version : View-relative text cursor positioning in QTextEdit



serenti
22nd June 2009, 00:41
When I search for text in QTextEdit using "find", the found text is always positioned at the bottom of the page. Is there any way I can scroll the document so the text appears at the top instead? I tried different tricks using QTextCursor but so far without any success. Any ideas?