Re-insert the previously deleted line.

def reverseCommit(self):
        """
        Re-insert the previously deleted line.
        """

        if self.markerPos is None:
            return

        # Remove the specified string from the same position in every line
        # in between the mark and the cursor (inclusive).
        col = min((self.markerPos[1], self.cursorPos[1]))
        for line in range(self.markerPos[0], self.cursorPos[0] + 1):
            self.qteWidget.setSelection(line, col, line, col + len(self.text))
            self.baseClass.removeSelectedText()

        self.qteWidget.setCursorPosition(*self.cursorPos)