1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-13 05:44:11 +02:00

Fixed symbol renaming closing in temp tab

This commit is contained in:
Brian Fiete 2020-05-19 12:28:31 -07:00
parent 952e3aec58
commit 01f82d1250
3 changed files with 11 additions and 3 deletions

View file

@ -107,6 +107,14 @@ namespace IDE.ui
}
}
public bool IsLocked
{
get
{
return mDoLock;
}
}
/*public this()
{

View file

@ -3088,7 +3088,7 @@ namespace IDE.ui
});
// Fixits
if ((mSourceViewPanel.mIsBeefSource) && (mSourceViewPanel.mProjectSource != null))
if ((mSourceViewPanel.mIsBeefSource) && (mSourceViewPanel.mProjectSource != null) && (gApp.mSymbolReferenceHelper?.IsLocked != true))
{
ResolveParams resolveParams = scope .();
mSourceViewPanel.DoClassify(ResolveType.GetFixits, resolveParams, true);

View file

@ -6100,7 +6100,8 @@ namespace IDE.ui
}*/
}
if (HasUnsavedChanges())
// When files changes we move it to the permanent area
if ((HasUnsavedChanges()) && (gApp.mSymbolReferenceHelper?.IsRenaming != true))
{
var parent = mParent;
while (parent != null)
@ -6113,7 +6114,6 @@ namespace IDE.ui
// Debug.Assert(activeTab.mContent == this);
if (activeTab.mIsRightTab)
{
// When files changes we move it to the permanent area
IDEApp.sApp.ShowSourceFile(mFilePath, mProjectSource, SourceShowType.ShowExisting, false);
}
break;