title: How can I find a substring and highlight it in QTextEdit?
body: <p>I have a QTextEdit window that shows the content of a file. 
  I would like to be able to find all matches inside the text using a regex and highlight them either by making the match background different or by changing the match text color or making it bold. How can I do this?</p>