code: def qteToBeKilled(self):
          
          self.clearHighlighting()
          self.qteWidget.qteSetLexer(self.originalLexer)
          self.qteText.textChanged.disconnect(self.qteTextChanged)
docs: Remove all selections and install the original lexer.