def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def setPoint(self, px, py):
        self.x = px
        self.y = py