1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Autocomplete fixes, debugger fixes

Fixed autocomplete issue typing out base class name
Fixed autocomplete issue typing before a member access (ie: in 'val' for 'val.MethodA()')
Fixed invocation autocomplete with [Friend] access
This commit is contained in:
Brian Fiete 2019-09-04 04:44:00 -07:00
parent 2f01cc14dd
commit 1e04bb1b3e
8 changed files with 53 additions and 7 deletions

View file

@ -1106,7 +1106,7 @@ void BfDefBuilder::Visit(BfTypeDeclaration* typeDeclaration)
isAutoCompleteTempType = (mResolvePassData->mAutoComplete != NULL);
int cursorIdx = mResolvePassData->mParser->mCursorIdx;
if (typeDeclaration->Contains(cursorIdx))
if (typeDeclaration->Contains(cursorIdx, 1, 0))
{
// Within bounds
}