aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-15 21:16:37 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-15 21:16:37 +0000
commitf0b12b052c2bfe5cdb197f9adb31f8b7136ada66 (patch)
tree89c2aa6a5a291c39de265e3abc96ac8d86e73113 /Source/TableContent.m
parent95f796e8c75aeb13f4e1190d9ec08feecc35aba6 (diff)
downloadsequelpro-f0b12b052c2bfe5cdb197f9adb31f8b7136ada66.tar.gz
sequelpro-f0b12b052c2bfe5cdb197f9adb31f8b7136ada66.tar.bz2
sequelpro-f0b12b052c2bfe5cdb197f9adb31f8b7136ada66.zip
• subclassed the editSheet textView
- added drag&drop feature of file content or path resp. - added feature to in/decrease font size via ⌘+/- or two-finger zoom gesture
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m22
1 files changed, 0 insertions, 22 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index dd4f0981..6655a53b 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -2477,7 +2477,6 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn
/**
* Traps enter and return key and closes editSheet instead of inserting a linebreak when user hits return.
- * Catch ⌘+ and ⌘- to de/increase font size of aTextView
*/
- (BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)aSelector
{
@@ -2488,29 +2487,8 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn
[NSApp stopModalWithCode:1];
return YES;
}
- else if([[NSApp currentEvent] modifierFlags] & NSCommandKeyMask)
- {
- // increase text size by 1; ⌘+ and numpad +
- if([[[NSApp currentEvent] charactersIgnoringModifiers] isEqualToString:@"+"])
- {
- [aTextView makeTextSizeLarger];
- return YES;
- }
- // decrease text size by 1; ⌘- and numpad -
- else if([[[NSApp currentEvent] charactersIgnoringModifiers] isEqualToString:@"-"])
- {
- [aTextView makeTextSizeSmaller];
- return YES;
- }
- else
- {
- return NO;
- }
- }
else
- {
return NO;
- }
}
return NO;
}