1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Extended autocomplete info

This commit is contained in:
Brian Fiete 2020-10-08 09:41:05 -07:00
parent 080a5483ae
commit b28a87136f
9 changed files with 270 additions and 111 deletions

View file

@ -7674,12 +7674,10 @@ void BfCompiler::GenerateAutocompleteInfo()
autoCompleteResultString += "\t";
autoCompleteResultString += String(entry->mDisplay);
if ((entry->mDocumentation != NULL) && (wantsDocEntry != NULL) && (strcmp(wantsDocEntry, entry->mDisplay) == 0))
{
docString.Clear();
entry->mDocumentation->GetDocString(docString);
if (entry->mDocumentation != NULL)
{
autoCompleteResultString += '\x03';
autoCompleteResultString += docString;
autoCompleteResultString += entry->mDocumentation;
}
autoCompleteResultString += "\n";