mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 13:37:32 +01:00
codetools: fixed find nested ancestor of nested class
git-svn-id: trunk@48537 -
This commit is contained in:
parent
7ccc5ec2cf
commit
ca91821012
@ -5842,7 +5842,7 @@ begin
|
|||||||
|
|
||||||
Params:=TFindDeclarationParams.Create;
|
Params:=TFindDeclarationParams.Create;
|
||||||
try
|
try
|
||||||
Params.Flags:=fdfDefaultForExpressions-[fdfSearchInAncestors];
|
Params.Flags:=fdfDefaultForExpressions;
|
||||||
Params.ContextNode:=IdentifierNode;
|
Params.ContextNode:=IdentifierNode;
|
||||||
if CurPos.Flag in [cafRoundBracketClose,cafComma] then begin
|
if CurPos.Flag in [cafRoundBracketClose,cafComma] then begin
|
||||||
// simple identifier
|
// simple identifier
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user