def triggerCharacters(self):
        """Trigger characters for smart indentation"""
        return self._smartIndenter.TRIGGER_CHARACTERS
def reorder_item(self, item, position):
    new_position = min(max(position, 0), len(self._items) - 1)