mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Fixed go to definition for invocation without opening paren
This commit is contained in:
parent
755b58c39d
commit
8647d63806
1 changed files with 5 additions and 1 deletions
|
@ -467,7 +467,11 @@ void BfAutoComplete::AddMethod(BfMethodDeclaration* methodDecl, const StringImpl
|
||||||
}
|
}
|
||||||
entry.mDocumentation = methodDecl->mDocumentation;
|
entry.mDocumentation = methodDecl->mDocumentation;
|
||||||
}
|
}
|
||||||
AddEntry(entry, filter);
|
if (AddEntry(entry, filter) != NULL)
|
||||||
|
{
|
||||||
|
if ((mResolveType == BfResolveType_GoToDefinition) && (mGetDefinitionNode == NULL) && (methodDecl->mNameNode != NULL))
|
||||||
|
SetDefinitionLocation(methodDecl->mNameNode);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void BfAutoComplete::AddTypeDef(BfTypeDef* typeDef, const StringImpl& filter, bool onlyAttribute)
|
void BfAutoComplete::AddTypeDef(BfTypeDef* typeDef, const StringImpl& filter, bool onlyAttribute)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue