def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def __getitem__(self, key):
        return self._states[key or DEFAULT_DB_ALIAS]