Logo Search packages:      
Sourcecode: matplotlib version File versions

def enthought::traits::ui::undo::ListUndoItem::undo (   self  ) 

Undoes the change.

Reimplemented from enthought::traits::ui::undo::AbstractUndoItem.

Definition at line 239 of file undo.py.

00239                      :
        """ Undoes the change.
        """
        try:
            list = getattr( self.object, self.name )
            list[ self.index: (self.index + len( self.added )) ] = self.removed
        except:
            pass

    #---------------------------------------------------------------------------
    #  Re-does the change:
    #---------------------------------------------------------------------------

    def redo ( self ):


Generated by  Doxygen 1.6.0   Back to index