def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def add_item(self, item):
    self._vbox_items.pack_start(item.widget, expand=False, fill=False)