def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def bufferedMode(self, mode = True):
        if mode is None:
            self.flush()
        self._bufferedMode = mode