diff options
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 22 |
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; } |