From 4611475c5b255eed9202474dd3bdee147e932946 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Fri, 22 Apr 2011 17:44:57 +0000 Subject: Bring outline view branch up to date with trunk (r3234:3277). --- Source/SPBundleCommandTextView.m | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Source/SPBundleCommandTextView.m') 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; -- cgit v1.2.3