docs: def reverseCommit(self):
          """
          Reverse the document to the original state.
          """
          print(self.after == self.before)
          pos = self.qteWidget.textCursor().position()
          self.qteWidget.setHtml(self.before)
          self.placeCursor(pos)