Hello.
I'm making a text editor and for Find function I need to select the found text.
How can I do it?
Thanks in advance
Hello.
I'm making a text editor and for Find function I need to select the found text.
How can I do it?
Thanks in advance
See QTextCursor and its move function (with QTextCursor::KeepAnchor).
Or, just use QTextEdit::find()
Thank you so much! I can't believe I couldn't think of QTextEdit::find()!
Thanks again!
Bookmarks