def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def dfs(self,candidates,target,start,reslist):
        length = len(candidates)
        if target == 0: 
            return self.result.append(reslist)