code: def highlight_matches(self):
          
          if self.is_code_editor and self.highlight_button.isChecked():
              text = self.search_text.currentText()
              words = self.words_button.isChecked()
              regexp = self.re_button.isChecked()
              self.editor.highlight_found_results(text, words=words,
                                                  regexp=regexp)
docs: Highlight found results