=================== BUG #4692: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4692&group_id=99

Submitted by: rburns                  Project: GNUstep                      
Submitted on: Sat 08/09/2003 at 20:21
Category:  Base/Foundation            Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  problem with registerUndoWithTarget: selector: object: 

Original Submission:  Using this code:

[undoManager registerUndoWithTarget:self selector:@selector(setState:) object:[em 
state]];

[undoManager undo];
[undoManager undo];

setState: only gets called the second time.

an example NSLog from this program: http://paiges.net/misc/EdenMath_test.tar.gz

bash-2.05b$ openapp EdenMath
2003-08-10 03:00:18.025 EdenMath[15367] em state - {current_value = 0; isNewDigit = 
YES; op_type = 0; previous_value = 0; trailing_digits = 0; }
2003-08-10 03:00:19.220 EdenMath[15367] we are undoing
2003-08-10 03:00:19.908 EdenMath[15367] we are undoing
2003-08-10 03:00:19.918 EdenMath[15367] setState in EMController
2003-08-10 03:00:19.929 EdenMath[15367] em state - {current_value = 2; isNewDigit = 
NO; op_type = 0; previous_value = 0; trailing_digits = 0; }
Segmentation fault
bash-2.05b$

using gnustep cvs from August 8



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4692&group_id=99

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to