Fix autocomplete case insensitive not working issue

Fix #11187, close #11191
This commit is contained in:
mpheath 2022-02-12 17:11:40 +10:00 committed by Don Ho
parent de43eca30e
commit 726ad7f580
1 changed files with 0 additions and 7 deletions

View File

@ -164,7 +164,6 @@ bool AutoCompletion::showApiAndWordComplete()
// Add keywords to word array
bool canStop = false;
for (size_t i = 0, kwlen = _keyWordArray.size(); i < kwlen; ++i)
{
int compareResult = 0;
@ -183,12 +182,6 @@ bool AutoCompletion::showApiAndWordComplete()
{
if (!isInList(_keyWordArray[i], wordArray))
wordArray.push_back(_keyWordArray[i]);
canStop = true;
}
else if (canStop)
{
// Early out since no more strings will match
break;
}
}