mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 13:47:54 -05:00
This replaces the current HTML shown without adding to the history and will preserve scroll position.
19 lines
719 B
Objective-C
19 lines
719 B
Objective-C
#include <oak/misc.h>
|
|
|
|
extern NSString* const kCommandRunnerURLScheme;
|
|
|
|
@interface OakHTMLOutputView : NSView
|
|
- (void)loadRequest:(NSURLRequest*)aRequest environment:(std::map<std::string, std::string> const&)anEnvironment autoScrolls:(BOOL)flag;
|
|
- (void)stopLoading;
|
|
- (void)loadHTMLString:(NSString*)someHTML;
|
|
|
|
@property (nonatomic, readonly) BOOL runningCommand;
|
|
|
|
// Read-only access to the webview is given to allow reading page title, etc.
|
|
@property (nonatomic, readonly) WebView* webView;
|
|
@property (nonatomic, readonly) BOOL needsNewWebView;
|
|
@end
|
|
|
|
namespace command { struct runner_t; typedef std::shared_ptr<runner_t> runner_ptr; }
|
|
PUBLIC NSURLRequest* URLRequestForCommandRunner (command::runner_ptr aRunner);
|