* Framework/PCEditorManager.m: Scroll to and select the line that

the debugger has stopped at.
	* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: bring the debugger
	window to the front when a breakpoint is detected.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27430 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-12-26 17:55:11 +00:00
parent 1d1c796f67
commit ca0d589c85
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2008-12-26 13:01-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Framework/PCEditorManager.m: Scroll to and select the line that
the debugger has stopped at.
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m: bring the debugger
window to the front when a breakpoint is detected.
2008-12-26 02:25-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Framework/PCEditorManager.m

View file

@ -398,8 +398,8 @@ NSString *PCEditorDidResignActiveNotification =
NSString *line = [object objectForKey: @"line"];
id<CodeEditor> editor = [self openEditorForFile: filePath
editable: YES
windowed: YES];
windowed: NO];
[editor scrollToLineNumber: [line intValue]];
NSLog(@"object = %@", [aNotif object]);
}

View file

@ -80,6 +80,7 @@
[NOTIFICATION_CENTER
postNotificationName: PCProjectBreakpointNotification
object: dict];
[[self window] makeKeyAndOrderFront: self];
}
}
}