def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def select_all(self, event=None):
        self.selection_range(0, END)
        return "break"