mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-28 22:47:04 +00:00
NEW: option to define if the reporting window should stay on top
This commit is contained in:
@@ -1566,18 +1566,21 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
|
||||
- (IBAction)openErrorsPanel:(id)aSender
|
||||
{
|
||||
[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
|
||||
[self.errorsPanel setFloatingPanel:[[NSUserDefaults standardUserDefaults] boolForKey:kDefaultXCCPanelStyleUtility]];
|
||||
[self.errorsPanel makeKeyAndOrderFront:nil];
|
||||
}
|
||||
|
||||
- (IBAction)openErrorInEditor:(id)sender
|
||||
{
|
||||
id info = self.errorListController.selection;
|
||||
|
||||
NSString *path = [info valueForKey:@"path"];
|
||||
|
||||
|
||||
NSString *path = [info valueForKey:@"realPath"] ? [info valueForKey:@"realPath"] : [info valueForKey:@"path"];
|
||||
|
||||
NSLog(@"09090900 %@", info);
|
||||
|
||||
if (path == NSNoSelectionMarker)
|
||||
return;
|
||||
|
||||
|
||||
if ([self isObjjFile:path])
|
||||
{
|
||||
[self openObjjFile:path line:[[info valueForKey:@"line"] intValue]];
|
||||
|
||||
Reference in New Issue
Block a user