Re-insert the previously deleted line.

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

        # Loop over all lines in the rectangle to remove the
        # previously yanked strings.
        col = self.cursorPos[1]
        for ii, text in enumerate(self.insertedText):
            line = ii + self.cursorPos[0]

            # Select as many characters as the string is long and remove
            # them.
            self.qteWidget.setSelection(line, col, line, col + len(text))
            self.baseClass.removeSelectedText()

        # Place the cursor at the original position.
        self.qteWidget.setCursorPosition(*self.cursorPos)