From da352ef5ad9cec2e6b6c51b0271e43d65b92a3f3 Mon Sep 17 00:00:00 2001 From: rddim Date: Sat, 15 May 2021 13:47:18 +0300 Subject: [PATCH] Fix duplicated words in Auto-Completion pop-up window Fix #9711, close #9867 --- PowerEditor/src/ScintillaComponent/AutoCompletion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp index 0d3f1d883..4ba6245f5 100644 --- a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp +++ b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp @@ -158,7 +158,7 @@ void AutoCompletion::getWordArray(vector & wordArray, TCHAR *beg generic_string expr(TEXT("\\<")); expr += beginChars; - expr += TEXT("[^ \\t\\n\\r.,;:\"(){}=<>'+!\\[\\]]+"); + expr += TEXT("[^ \\t\\n\\r.,;:\"(){}=<>'+!?\\[\\]]+"); int docLength = int(_pEditView->execute(SCI_GETLENGTH));