1 puts "================"
3 puts "================"
6 ######################################################
7 # Checks bug of Undo mechanism
8 ######################################################
11 set Lab1 [Label D 0:1:1]
13 #1. Set Integer attribute
15 SetInteger D $Lab1 111
17 #2. Set Real attribute
21 #3. Forget Integer attribute
23 ForgetAtt D $Lab1 2a96b606-ec8b-11d0-bee7-080009dc3333
25 #4. Set new Integer attribute
26 SetInteger D $Lab1 222
31 puts "Error during Document Undo"
38 puts "Error during Document Redo"
44 if {$IsGoodUndo == 1 & $IsGoodRedo == 1} {
47 puts "bug0029142: ERROR"