aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleHTMLOutputController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-04-11 00:21:41 +0000
committerrowanbeentje <rowan@beent.je>2011-04-11 00:21:41 +0000
commit2621e79c75a0119a54c669b263caa82183bd19c8 (patch)
tree40f77701799aa5afb95b427b813050cb2765fc48 /Source/SPBundleHTMLOutputController.m
parent6b154a3822f133a6e8cb09c116853bcd728b53cf (diff)
downloadsequelpro-2621e79c75a0119a54c669b263caa82183bd19c8.tar.gz
sequelpro-2621e79c75a0119a54c669b263caa82183bd19c8.tar.bz2
sequelpro-2621e79c75a0119a54c669b263caa82183bd19c8.zip
- Add Command-0 as the shortcut to restore the default font size in the HTML output window and bundle and field editors, adding commands for the equivalent functionality. This standardises text views with the custom query view and other applications
Diffstat (limited to 'Source/SPBundleHTMLOutputController.m')
-rw-r--r--Source/SPBundleHTMLOutputController.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPBundleHTMLOutputController.m b/Source/SPBundleHTMLOutputController.m
index 1995cfcb..e49cce11 100644
--- a/Source/SPBundleHTMLOutputController.m
+++ b/Source/SPBundleHTMLOutputController.m
@@ -145,6 +145,11 @@
[webView makeTextSmaller:nil];
return;
}
+ if([charactersIgnMod isEqualToString:@"0"]) // return the text size to the default size
+ {
+ [webView makeTextStandardSize:nil];
+ return;
+ }
if([theEvent keyCode] == 123) // goBack
{
if([webView canGoBack])