mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fix ArgMatchCount when there's documentation
This commit is contained in:
parent
aa092a88ee
commit
34c6ca9a1a
1 changed files with 5 additions and 4 deletions
|
@ -8631,6 +8631,9 @@ void BfCompiler::GenerateAutocompleteInfo()
|
|||
}
|
||||
methodText += "\x1)";
|
||||
}
|
||||
|
||||
autoCompleteResultString += "invoke\t" + methodText;
|
||||
autoCompleteResultString += StrFormat("\t%d", methodEntry.mArgMatchCount);
|
||||
|
||||
if (methodEntry.mMethodDef != NULL)
|
||||
{
|
||||
|
@ -8639,13 +8642,11 @@ void BfCompiler::GenerateAutocompleteInfo()
|
|||
{
|
||||
String docString;
|
||||
methodDeclaration->mDocumentation->GetDocString(docString);
|
||||
methodText += "\x03";
|
||||
methodText += docString;
|
||||
autoCompleteResultString += "\x03";
|
||||
autoCompleteResultString += docString;
|
||||
}
|
||||
}
|
||||
|
||||
autoCompleteResultString += "invoke\t" + methodText;
|
||||
autoCompleteResultString += StrFormat("\t%d", methodEntry.mArgMatchCount);
|
||||
autoCompleteResultString += "\n";
|
||||
|
||||
idx++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue