From the Qt Assistant: "QTextEdit::find(...): Returns true if exp was found and changes the cursor to select the match". So your text should already be selected. If it isn't, it looks like a Qt bug to me.