def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def paint(self,c):
		c.filled_rectangle(self.x, self.y,self.w, self.h)