aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditSheetTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-14 10:08:31 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-14 10:08:31 +0000
commit1fdf6898c1750fc0af72d9919cf370855f6a5bf2 (patch)
tree5df8cf5736a6311d712bbd29c844eec87a27b9f2 /Source/SPEditSheetTextView.h
parentf0985197a759c5e6dcc1d60b71f2652f701da805 (diff)
downloadsequelpro-1fdf6898c1750fc0af72d9919cf370855f6a5bf2.tar.gz
sequelpro-1fdf6898c1750fc0af72d9919cf370855f6a5bf2.tar.bz2
sequelpro-1fdf6898c1750fc0af72d9919cf370855f6a5bf2.zip
• added to the SPFieldEditorController's text editor view its own undoManager which runs in the same modal run loop
- RETURN or a ' ' forms a undo group - undo groups will be formed after 5 run loops (to form longer block while writing quickly) Note: Has to be tested and fine-tuned if necessary
Diffstat (limited to 'Source/SPEditSheetTextView.h')
-rw-r--r--Source/SPEditSheetTextView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPEditSheetTextView.h b/Source/SPEditSheetTextView.h
index 7c225a78..d6af35ce 100644
--- a/Source/SPEditSheetTextView.h
+++ b/Source/SPEditSheetTextView.h
@@ -25,6 +25,9 @@
#import <Cocoa/Cocoa.h>
@interface SPEditSheetTextView : NSTextView
+{
+ BOOL textWasChanged;
+}
- (unsigned int)characterIndexOfPoint:(NSPoint)aPoint;
- (void)insertFileContentOfFile:(NSString *)aPath;