diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-22 19:41:01 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-22 19:41:01 +0000 |
commit | 5a26675cdc8f6f93162d6753f03508a57ff3112f (patch) | |
tree | 2d4240c8d389b9c6adddb7bff5b2dc22914114e5 /Source/SPTextView.m | |
parent | 6e3ce5d93bfab8ea0c83b2757144cd805f2388b2 (diff) | |
download | sequelpro-5a26675cdc8f6f93162d6753f03508a57ff3112f.tar.gz sequelpro-5a26675cdc8f6f93162d6753f03508a57ff3112f.tar.bz2 sequelpro-5a26675cdc8f6f93162d6753f03508a57ff3112f.zip |
• Bundle Editor
- added output action "Show as HTML"
• Bundle HTML output
- finished implementation
- added print support (eg for printing reports)
- added text size resizing
- added link support
- added new window support
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r-- | Source/SPTextView.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m index b7e39a39..ef581a8f 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -32,6 +32,7 @@ #import "SPNavigatorController.h" #import "SPAlertSheets.h" #import "RegexKitLite.h" +#import "SPBundleHTMLOutputController.h" #pragma mark - #pragma mark lex init @@ -3559,6 +3560,11 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) else if([action isEqualToString:SPBundleOutputActionShowAsHTMLTooltip]) { [SPTooltip showWithObject:output ofType:@"html"]; } + + else if([action isEqualToString:SPBundleOutputActionShowAsHTML]) { + SPBundleHTMLOutputController *c = [[SPBundleHTMLOutputController alloc] init]; + [c displayHTMLContent:output withOptions:nil]; + } } } else { NSString *errorMessage = [err localizedDescription]; |