aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleCommandTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPBundleCommandTextView.m')
-rw-r--r--Source/SPBundleCommandTextView.m10
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;