From 7b3993f0bd8889f481c0a5b5fb2739ec6876b8c4 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 9 Jan 2018 18:24:19 +0000 Subject: [PATCH] codetools: identifier completion: extended: add only once git-svn-id: trunk@57028 - --- components/codetools/identcompletiontool.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/codetools/identcompletiontool.pas b/components/codetools/identcompletiontool.pas index 14341c9b47..3857221294 100644 --- a/components/codetools/identcompletiontool.pas +++ b/components/codetools/identcompletiontool.pas @@ -645,8 +645,8 @@ begin else FFilteredList.Insert(cPriorityCount, CurItem); Inc(cPriorityCount); - end; - if FExtendedFilter + end + else if FExtendedFilter and (IdentifierPos(PChar(Pointer(Prefix)),PChar(Pointer(CurItem.Identifier))) > 0) then begin {$IFDEF ShowFilteredIdents}