def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def filled_rectangle(self, x, y, w, h):
		self.board[y:y+h,x:x+w] = self.color