def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def _to_python(self, value):
        if isinstance(value, Proxy):
            return value.get()
        else:
            return value