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