mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34: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()
|
/*public this()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -3088,7 +3088,7 @@ namespace IDE.ui
|
||||||
});
|
});
|
||||||
|
|
||||||
// Fixits
|
// Fixits
|
||||||
if ((mSourceViewPanel.mIsBeefSource) && (mSourceViewPanel.mProjectSource != null))
|
if ((mSourceViewPanel.mIsBeefSource) && (mSourceViewPanel.mProjectSource != null) && (gApp.mSymbolReferenceHelper?.IsLocked != true))
|
||||||
{
|
{
|
||||||
ResolveParams resolveParams = scope .();
|
ResolveParams resolveParams = scope .();
|
||||||
mSourceViewPanel.DoClassify(ResolveType.GetFixits, resolveParams, true);
|
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;
|
var parent = mParent;
|
||||||
while (parent != null)
|
while (parent != null)
|
||||||
|
@ -6113,7 +6114,6 @@ namespace IDE.ui
|
||||||
// Debug.Assert(activeTab.mContent == this);
|
// Debug.Assert(activeTab.mContent == this);
|
||||||
if (activeTab.mIsRightTab)
|
if (activeTab.mIsRightTab)
|
||||||
{
|
{
|
||||||
// When files changes we move it to the permanent area
|
|
||||||
IDEApp.sApp.ShowSourceFile(mFilePath, mProjectSource, SourceShowType.ShowExisting, false);
|
IDEApp.sApp.ShowSourceFile(mFilePath, mProjectSource, SourceShowType.ShowExisting, false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue