Table of Contents

Class: undo_manager | ../bkchem/undo.py
--- | ---
class to process requests for undo tracking and undoing
Methods |
--- | ---
__init__ can_redo can_undo clean delete_last_record get_last_record_name | get_number_of_records mrproper redo start_new_record undo
| __init__
    __init__ ( self,  paper )
well, init
| can_redo
    can_redo ( self )
| can_undo
    can_undo ( self )
| 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
| get_number_of_records
    get_number_of_records ( self )
| 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 Tue Dec 12 13:46:43 2006 by HappyDoc version 2.1