i get selected text from QTextEdit
QString findExpr = textEdit->textCursor().selection().toPlainText();
and then try to find this text
textEdit->document()->find(findExpr, cursor, flags);
but can't
(i don't forget move cursor to begin of document )