From 0baaf1915d08f1308a34c81af78e82ed1e2f3543 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 3 Sep 2011 08:34:46 +0000 Subject: [PATCH] IDE: codehelp: stop when find declaration found a place outside of code nodes git-svn-id: trunk@32166 - --- ide/codehelp.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/ide/codehelp.pas b/ide/codehelp.pas index d0f1f2c5c0..2aa6bbf602 100644 --- a/ide/codehelp.pas +++ b/ide/codehelp.pas @@ -2356,6 +2356,7 @@ begin if (not OldCTTool.FindDeclaration(OldXYPos,[fsfSearchSourceName], CTTool,CTNode,XYPos,aTopLine)) or (CTNode=OldCTNode) + or (CTNode=nil) then begin {$ifdef VerboseLazDoc} debugln(['TCodeHelpManager.GetHTMLHint inherited not found: ',dbgs(OldXYPos)]);