mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:10:37 +00:00
Improvements in keyed coding and correction for NSCell formatter unarchiving issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20235 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31eeedc9c5
commit
c0dc199651
7 changed files with 160 additions and 51 deletions
|
@ -53,6 +53,7 @@
|
|||
#include "AppKit/NSColor.h"
|
||||
#include "AppKit/NSColorList.h"
|
||||
#include "AppKit/NSCursor.h"
|
||||
#include "AppKit/NSDocumentController.h"
|
||||
#include "AppKit/NSDocument.h"
|
||||
#include "AppKit/NSDragging.h"
|
||||
#include "AppKit/NSFont.h"
|
||||
|
@ -4147,6 +4148,15 @@ resetCursorRectsForView(NSView *theView)
|
|||
return (void *)_windowNum;
|
||||
}
|
||||
|
||||
- (void) undo: (id)sender
|
||||
{
|
||||
[[[[NSDocumentController sharedDocumentController] currentDocument] undoManager] undo];
|
||||
}
|
||||
|
||||
- (void) redo: (id)sender
|
||||
{
|
||||
[[[[NSDocumentController sharedDocumentController] currentDocument] undoManager] redo];
|
||||
}
|
||||
@end
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue