def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def _get(delta, start):
            p = start
            while delta:
                p = p.next
                delta -= 1
            return p.val