code: def reverseCommit(self):
          
          self.baseClass.setText(self.oldText)
          self.qteWidget.SCISetStylingEx(0, 0, self.style)
docs: Replace the current widget content with the original text.
          Note that the original text has styling information available,
          whereas the new text does not.