From 726ad7f5804a1e4f406afa4c2d397b30d49a3f05 Mon Sep 17 00:00:00 2001 From: mpheath Date: Sat, 12 Feb 2022 17:11:40 +1000 Subject: [PATCH] Fix autocomplete case insensitive not working issue Fix #11187, close #11191 --- PowerEditor/src/ScintillaComponent/AutoCompletion.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp index e7cf9efc4..16ab59dae 100644 --- a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp +++ b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp @@ -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; } }