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

21st June 2009, 23: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?