def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def __exit__(self, *args):
        self.stop()
        self.reset()