From 844fb9e754f2b3871254648b345a89166f64163f Mon Sep 17 00:00:00 2001 From: John Cook Date: Mon, 15 Feb 2016 13:05:16 +1100 Subject: [PATCH] Replace explicit |-display| with |-setNeedsDisplay:YES| when updating the source viewer. This might improve efficiency, but is the recommended method in any case. --- Source/DebuggerController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index 9bba07e..d8ccba4 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -330,7 +330,7 @@ [sourceViewer setMarkedLine:frame.lineNumber]; [sourceViewer scrollToLine:frame.lineNumber]; - [[sourceViewer textView] display]; + [[sourceViewer textView] setNeedsDisplay:YES]; } /** -- 2.43.5