mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:19:19 +02:00
Codetools: IdentifierCompletion, apply history limit to filtered list
This commit is contained in:
parent
b9cdb23eed
commit
b087b9f55e
@ -742,10 +742,13 @@ begin
|
|||||||
( (FFoundHistoryItems[j].Compatibility = HistComp) or (not HasCompSort) ) and
|
( (FFoundHistoryItems[j].Compatibility = HistComp) or (not HasCompSort) ) and
|
||||||
(FFoundHistoryItems[j].Identifier <> '')
|
(FFoundHistoryItems[j].Identifier <> '')
|
||||||
then begin
|
then begin
|
||||||
|
CurItem := FFoundHistoryItems[j];
|
||||||
|
if (FilterCurItem >= 0) then begin
|
||||||
HistoryLimits[HistComp] := FFoundHistoryItems[j].HistoryIndex;
|
HistoryLimits[HistComp] := FFoundHistoryItems[j].HistoryIndex;
|
||||||
dec(TotalHistLimit);
|
dec(TotalHistLimit);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
if not HasCompSort then
|
if not HasCompSort then
|
||||||
break;
|
break;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user