Replace the current widget content with the original text.
        Note that the original text has styling information available,
        whereas the new text does not.

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