Put the document into the 'before' state.

def reverseCommit(self):
        """
        Put the document into the 'before' state.
        """
        # Put the document into the 'before' state.
        self.baseClass.setText(self.textBefore)
        self.qteWidget.SCISetStylingEx(0, 0, self.styleBefore)