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:
parent
952e3aec58
commit
01f82d1250
3 changed files with 11 additions and 3 deletions
|
@ -107,6 +107,14 @@ namespace IDE.ui
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsLocked
|
||||
{
|
||||
get
|
||||
{
|
||||
return mDoLock;
|
||||
}
|
||||
}
|
||||
|
||||
/*public this()
|
||||
{
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue