From ca918210120b3c24263d5a33669d9c58c42f1e7b Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 30 Mar 2015 16:23:22 +0000 Subject: [PATCH] codetools: fixed find nested ancestor of nested class git-svn-id: trunk@48537 - --- components/codetools/finddeclarationtool.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/codetools/finddeclarationtool.pas b/components/codetools/finddeclarationtool.pas index ef1391fbf9..febd0cdb78 100644 --- a/components/codetools/finddeclarationtool.pas +++ b/components/codetools/finddeclarationtool.pas @@ -5842,7 +5842,7 @@ begin Params:=TFindDeclarationParams.Create; try - Params.Flags:=fdfDefaultForExpressions-[fdfSearchInAncestors]; + Params.Flags:=fdfDefaultForExpressions; Params.ContextNode:=IdentifierNode; if CurPos.Flag in [cafRoundBracketClose,cafComma] then begin // simple identifier