mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 23:04:09 +02:00
Remove unnecessary pauses for build scripts
This commit is contained in:
parent
72064e7dc2
commit
0bb273b898
1 changed files with 26 additions and 23 deletions
|
@ -963,35 +963,38 @@ namespace IDE
|
||||||
return false;
|
return false;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
if (gApp.mLastActiveSourceViewPanel != null)
|
if (!ScriptManager.sActiveManager.mIsBuildScript)
|
||||||
{
|
{
|
||||||
var sourceViewPanel = gApp.mLastActiveSourceViewPanel;
|
if (gApp.mLastActiveSourceViewPanel != null)
|
||||||
if (sourceViewPanel.HasFocus())
|
|
||||||
{
|
{
|
||||||
if (sourceViewPanel.[Friend]mOldVerLoadExecutionInstance != null)
|
var sourceViewPanel = gApp.mLastActiveSourceViewPanel;
|
||||||
return false;
|
if (sourceViewPanel.HasFocus())
|
||||||
if (!sourceViewPanel.mDeferredResolveResults.IsEmpty)
|
{
|
||||||
return false;
|
if (sourceViewPanel.[Friend]mOldVerLoadExecutionInstance != null)
|
||||||
|
return false;
|
||||||
|
if (!sourceViewPanel.mDeferredResolveResults.IsEmpty)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (sourceViewPanel.[Friend]mWantsFastClassify)
|
if (sourceViewPanel.[Friend]mWantsFastClassify)
|
||||||
return false;
|
return false;
|
||||||
if (sourceViewPanel.[Friend]mWantsFullClassify)
|
if (sourceViewPanel.[Friend]mWantsFullClassify)
|
||||||
return false;
|
return false;
|
||||||
if (sourceViewPanel.[Friend]mWantsFullRefresh)
|
if (sourceViewPanel.[Friend]mWantsFullRefresh)
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((gApp.mBfResolveCompiler != null) && (gApp.mBfResolveCompiler.IsPerformingBackgroundOperation()))
|
||||||
|
return false;
|
||||||
|
if (gApp.[Friend]mDeferredOpen != .None)
|
||||||
|
return false;
|
||||||
|
if ((gApp.mExecutionPaused) && (gApp.mDebugger.IsPaused()))
|
||||||
|
{
|
||||||
|
if (gApp.mWantsRehupCallstack)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((gApp.mBfResolveCompiler != null) && (gApp.mBfResolveCompiler.IsPerformingBackgroundOperation()))
|
|
||||||
return false;
|
|
||||||
if (gApp.[Friend]mDeferredOpen != .None)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if ((gApp.mExecutionPaused) && (gApp.mDebugger.IsPaused()))
|
|
||||||
{
|
|
||||||
if (gApp.mWantsRehupCallstack)
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (gApp.mWantsClean || gApp.mWantsBeefClean)
|
if (gApp.mWantsClean || gApp.mWantsBeefClean)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
@ -1011,7 +1014,7 @@ namespace IDE
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gApp.mDebugger == null)
|
if ((gApp.mDebugger == null) || (ScriptManager.sActiveManager.mIsBuildScript))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if ((!ScriptManager.sActiveManager.mIsBuildScript) && (gApp.AreTestsRunning()))
|
if ((!ScriptManager.sActiveManager.mIsBuildScript) && (gApp.AreTestsRunning()))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue