From debc98eb182d845e4ab803c1cd1d84908da745d3 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 31 Aug 2011 01:23:29 +0000 Subject: - Clean up undo manager handling - Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109. --- Source/SPDatabaseDocument.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/SPDatabaseDocument.h') diff --git a/Source/SPDatabaseDocument.h b/Source/SPDatabaseDocument.h index 31c3d636..a0d02bb6 100644 --- a/Source/SPDatabaseDocument.h +++ b/Source/SPDatabaseDocument.h @@ -170,6 +170,7 @@ SPDatabaseData, SPTablesList, SPTableStructure, SPTableContent, SPTableData, SPS #ifndef SP_REFACTOR /* ivars */ NSUserDefaults *prefs; NSMutableArray *nibObjectsToRelease; + NSUndoManager *undoManager; #endif NSMenu *selectEncodingMenu; @@ -378,6 +379,7 @@ SPDatabaseData, SPTablesList, SPTableStructure, SPTableContent, SPTableData, SPS - (NSURL *)fileURL; - (NSString *)displayName; #ifndef SP_REFACTOR /* method decls */ +- (NSUndoManager *)undoManager; // Notification center methods - (void)willPerformQuery:(NSNotification *)notification; -- cgit v1.2.3