'Swap automatic indentation on or off.'

def swap_autoindent(self):

    if self._codefunc:
        if (self._indent >= 0):
            self._indent = (-1)
        else:
            self._indent = 0
        if self._persistent:
            self._caller.attributes.add('_eveditor_indent', self._indent)
