From b5a7e440c97d5abcc407148545bb7a974db54e17 Mon Sep 17 00:00:00 2001 From: mattias Date: Sun, 29 Apr 2012 12:52:03 +0000 Subject: [PATCH] codetools: GetSmartHint: add inheritance git-svn-id: trunk@37083 - --- components/codetools/finddeclarationtool.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/codetools/finddeclarationtool.pas b/components/codetools/finddeclarationtool.pas index 9f557feeb1..e3c7b41df1 100644 --- a/components/codetools/finddeclarationtool.pas +++ b/components/codetools/finddeclarationtool.pas @@ -2277,6 +2277,9 @@ begin MoveCursorToNodeStart(TypeNode); ReadNextAtom; Result+=GetAtom; + if (TypeNode.FirstChild<>nil) + and (TypeNode.FirstChild.Desc = ctnClassInheritance) then + Result += ExtractNode(TypeNode.FirstChild, []); end; ctnConstant: begin