def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def stop(self):
        self._patcher.stop()
        self._patcher2.stop()
        self._server_mock = None