IDE: codehelp: stop when find declaration found a place outside of code nodes

git-svn-id: trunk@32166 -
This commit is contained in:
mattias 2011-09-03 08:34:46 +00:00
parent 70d3af469c
commit 0baaf1915d

View File

@ -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)]);