def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def __str__(self):
        return "(%s,%s)/%d" % (self.saddr, self.gaddr, self.glen)