def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def buffer_updated(self, nbytes):
        self.transport.write(self.buffer[:nbytes])