You can get the text through QTextCursor::selectedText(), but first you have to select it. You do that by calling movePosition() with QTextCursor::KeepAnchor as the second parameter.
You can get the text through QTextCursor::selectedText(), but first you have to select it. You do that by calling movePosition() with QTextCursor::KeepAnchor as the second parameter.
Bookmarks