From ee28051a71141952110232f28af315c2d9cdd169 Mon Sep 17 00:00:00 2001 From: mpheath Date: Fri, 1 Apr 2022 16:03:12 +1000 Subject: [PATCH] Fix flashing box (autocompletion empty list) whilst Typing issue Fix #9433, close #11460 --- PowerEditor/src/ScintillaComponent/AutoCompletion.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp index 4f4c54e17..856075d15 100644 --- a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp +++ b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp @@ -242,6 +242,9 @@ bool AutoCompletion::showApiAndWordComplete() } } + if (!wordArray.size()) + return false; + // Sort word array and convert it to a single string with space-separated words sort(wordArray.begin(), wordArray.end());