def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def exact(self, f):
        """Returns True if f is in .files()."""
        return f in self._fileset