Table of Contents

Class: undo_manager bkchem/undo.py

class to process requests for undo tracking and undoing

Methods   
__init__
clean
delete_last_record
get_last_record_name
mrproper
redo
start_new_record
undo
  __init__ 
__init__ ( self,  paper )

well, init

  clean 
clean ( self )

removes all undo informations, does not start new undo record

  delete_last_record 
delete_last_record ( self )

deletes the last record, useful for concatenation of several records to one; especially powerfull in combination with named records; use with care - it could cause problems

  get_last_record_name 
get_last_record_name ( self )

returns the last closed record name

  mrproper 
mrproper ( self )

  redo 
redo ( self )

redoes the last undone step, returns number of redos available

  start_new_record 
start_new_record ( self,  name='' )

starts new undo_record closing the recent name may be set for a record

  undo 
undo ( self )

undoes the last step and returns the number of undo records available


Table of Contents

This document was automatically generated on Fri Nov 19 12:52:52 2004 by HappyDoc version 2.1