1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Improvements to emit markers on emits only in specialized types

This commit is contained in:
Brian Fiete 2022-05-02 07:48:29 -07:00
parent 01112c54fe
commit 5271f5e2fd
14 changed files with 342 additions and 68 deletions

View file

@ -1372,12 +1372,17 @@ namespace IDE
return activePanel as TextPanel;
}
public void RefreshVisibleViews(SourceViewPanel excludeSourceViewPanel = null)
public void RefreshVisibleViews(SourceViewPanel excludeSourceViewPanel = null, CompilerBase.ViewRefreshKind viewRefreshKind = .FullRefresh)
{
WithSourceViewPanels(scope (sourceViewPanel) =>
{
if ((sourceViewPanel.mParent != null) && (sourceViewPanel != excludeSourceViewPanel))
sourceViewPanel.QueueFullRefresh(true);
if ((sourceViewPanel.mParent != null) && (sourceViewPanel != excludeSourceViewPanel))
{
if (viewRefreshKind ==.Collapse)
sourceViewPanel.QueueFullRefresh(true);
else
sourceViewPanel.QueueCollapseRefresh();
}
});
}
@ -9459,7 +9464,7 @@ namespace IDE
}
mBfResolveCompiler.QueueDeferredResolveAll();
mBfResolveCompiler.QueueRefreshViewCommand();
mBfResolveCompiler.QueueRefreshViewCommand(.FullRefresh);
return;
}