mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Improved override method insertion in autocomplete
This commit is contained in:
parent
0ac49db97e
commit
d18e12866b
2 changed files with 8 additions and 1 deletions
|
@ -22337,7 +22337,7 @@ void BfModule::DoMethodDeclaration(BfMethodDeclaration* methodDeclaration, bool
|
|||
nameNode = ctorDeclaration->mThisToken;
|
||||
}
|
||||
|
||||
if (autoComplete->IsAutocompleteNode(nameNode))
|
||||
if ((autoComplete->IsAutocompleteNode(nameNode)) && (autoComplete->mResolveType != BfResolveType_Autocomplete))
|
||||
{
|
||||
autoComplete->mInsertStartIdx = nameNode->GetSrcStart();
|
||||
autoComplete->mInsertEndIdx = nameNode->GetSrcEnd();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue