1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-12 21:34:11 +02:00

Improved handling of missing source file

This commit is contained in:
Brian Fiete 2020-01-15 08:33:16 -08:00
parent 957f24e159
commit 7894fc73cc
5 changed files with 23 additions and 1 deletions

View file

@ -1163,6 +1163,11 @@ namespace IDE.ui
//BackgroundResolve(new () => { DoClassify(.Autocomplete, resolveParams); });
else if (useResolveType == .ClassifyFullRefresh)
{
if ((mProjectSource?.mLoadFailed == true) && (!mLoadFailed))
{
mProjectSource.mLoadFailed = false;
}
// To avoid "flashing" on proper colorization vs FastClassify, we wait a bit for the proper classifying to finish
// on initial show
int maxWait = (mUpdateCnt <= 1) ? 50 : 0;