mirror of
https://github.com/textmate/textmate.git
synced 2026-04-06 03:01:29 -04:00
Make HTML output window a panel
This allows the main (document) window to handle menu keys (which are not handled by the HTML output window controller).
This commit is contained in:
@@ -21,7 +21,7 @@ static std::multimap<oak::uuid_t, HTMLOutputWindowController*> Windows;
|
||||
{
|
||||
if(self = [super init])
|
||||
{
|
||||
self.window = [[NSWindow alloc] initWithContentRect:NSMakeRect(100, 100, 100, 100) styleMask:(NSTitledWindowMask|NSClosableWindowMask|NSResizableWindowMask|NSMiniaturizableWindowMask) backing:NSBackingStoreBuffered defer:NO];
|
||||
self.window = [[NSPanel alloc] initWithContentRect:NSMakeRect(100, 100, 100, 100) styleMask:(NSTitledWindowMask|NSClosableWindowMask|NSResizableWindowMask|NSMiniaturizableWindowMask) backing:NSBackingStoreBuffered defer:NO];
|
||||
self.htmlOutputView = [[OakHTMLOutputView alloc] init];
|
||||
|
||||
[self.window setFrameAutosaveName:@"Command Output (HTML)"];
|
||||
|
||||
Reference in New Issue
Block a user