From 70687fb9f60827d9ccfd02dbcd6a97f5710c69be Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 22 Jul 2009 00:58:12 -0400 Subject: [PATCH] In |-debuggerDisconnected|, unmark the program counter line so it doesn't look like we're connected. --- CHANGES | 2 ++ Source/DebuggerController.m | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGES b/CHANGES index 2c2b4db..51f4e89 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,8 @@ MacGDBp CHANGE LOG 1.4 ##################### - New: #165 Added a preference to automatically reconnect after debugging +- Change: #164 Upon disconnecting, the program counter line will no longer be +highlighted. 1.3 diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index fe145a1..17af9e2 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -164,6 +164,10 @@ { if ([[NSUserDefaults standardUserDefaults] boolForKey:@"AutoReconnect"]) [self reconnect:self]; + + // Invalidate the marked line so we don't look like we're still running. + sourceViewer.markedLine = -1; + [sourceViewer setNeedsDisplay:YES]; } /** -- 2.43.5