mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 05:01:50 +02:00
Codetools: Identifier completion, don't use CompareIdentifiers for ParamList. ParamList contains symbols ";()". Found in issue #40332
This commit is contained in:
parent
ebad154bc6
commit
c32f97c6c8
@ -523,8 +523,7 @@ begin
|
|||||||
if Result<>0 then exit;
|
if Result<>0 then exit;
|
||||||
|
|
||||||
//debugln('CompareIdentHistListItem ',Item2.Identifier,'=',Item1.Identifier);
|
//debugln('CompareIdentHistListItem ',Item2.Identifier,'=',Item1.Identifier);
|
||||||
Result:=CompareIdentifiers(PChar(Pointer(Item2.ParamList)),
|
Result:=CompareTextIgnoringSpace(Item2.ParamList,Item1.ParamList,false);
|
||||||
PChar(Pointer(Item1.ParamList)));
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function CompareIdentItemWithHistListItem(Data1, Data2: Pointer): integer;
|
function CompareIdentItemWithHistListItem(Data1, Data2: Pointer): integer;
|
||||||
|
Loading…
Reference in New Issue
Block a user