diff options
author | stuconnolly <stuart02@gmail.com> | 2011-04-22 17:44:57 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-04-22 17:44:57 +0000 |
commit | 4611475c5b255eed9202474dd3bdee147e932946 (patch) | |
tree | 39bdc50e046f802265950c6e2607ca9ebda453be /Source/SPBundleCommandTextView.m | |
parent | 3ed8b33deeadcc98185911f41bc6bcb4e53b4719 (diff) | |
download | sequelpro-4611475c5b255eed9202474dd3bdee147e932946.tar.gz sequelpro-4611475c5b255eed9202474dd3bdee147e932946.tar.bz2 sequelpro-4611475c5b255eed9202474dd3bdee147e932946.zip |
Bring outline view branch up to date with trunk (r3234:3277).
Diffstat (limited to 'Source/SPBundleCommandTextView.m')
-rw-r--r-- | Source/SPBundleCommandTextView.m | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/SPBundleCommandTextView.m b/Source/SPBundleCommandTextView.m index 59bebadc..6f91676c 100644 --- a/Source/SPBundleCommandTextView.m +++ b/Source/SPBundleCommandTextView.m @@ -488,7 +488,13 @@ [self saveChangedFontInUserDefaults]; return; } - if([charactersIgnMod isEqualToString:@"["]) // decrease text size by 1; ⌘- and numpad - + if([charactersIgnMod isEqualToString:@"0"]) // return text to standard size; ⌘0 + { + [self makeTextStandardSize]; + [self saveChangedFontInUserDefaults]; + return; + } + if([charactersIgnMod isEqualToString:@"["]) // shift left { [self shiftSelectionLeft]; return; @@ -498,7 +504,7 @@ [self shiftSelectionRight]; return; } - if([charactersIgnMod isEqualToString:@"/"]) // shift right + if([charactersIgnMod isEqualToString:@"/"]) // comment out text { [self commentOut]; return; |