def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def due_date(self):
        """ Returns a date object of the todo's due date. """
        return self.get_date(config().tag_due())