From 07df54ddbac10c8c803534ebbc25a6fffe5689c6 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Tue, 28 Apr 2020 15:52:02 -0700 Subject: [PATCH] Deferred ShowOuput, fixed double-output window --- IDE/src/IDEApp.bf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index af717c2c..c766dab9 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -168,6 +168,7 @@ namespace IDE public Image mTransparencyGridImage ~ delete _; public Image mSquiggleImage ~ delete _; public Image mCircleImage ~ delete _; + public bool mWantShowOutput; public OutputPanel mOutputPanel; public ImmediatePanel mImmediatePanel; @@ -6692,7 +6693,7 @@ namespace IDE public void OutputErrorLine(String format, params Object[] args) { - ShowOutput(); + mWantShowOutput = true; var errStr = scope String(); errStr.Append("ERROR: ", format); OutputLineSmart(errStr, params args); @@ -12402,6 +12403,12 @@ namespace IDE }*/ + if (mWantShowOutput) + { + ShowOutput(); + mWantShowOutput = false; + } + if (mDbgFastUpdate) { RefreshRate = 240;