def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def items(self):
        for key, value in self._collection.items():
            yield key, self._to_python(value)