mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-19 07:08:21 +02:00
IDE: codehelp: stop when find declaration found a place outside of code nodes
git-svn-id: trunk@32166 -
This commit is contained in:
parent
70d3af469c
commit
0baaf1915d
@ -2356,6 +2356,7 @@ begin
|
|||||||
if (not OldCTTool.FindDeclaration(OldXYPos,[fsfSearchSourceName],
|
if (not OldCTTool.FindDeclaration(OldXYPos,[fsfSearchSourceName],
|
||||||
CTTool,CTNode,XYPos,aTopLine))
|
CTTool,CTNode,XYPos,aTopLine))
|
||||||
or (CTNode=OldCTNode)
|
or (CTNode=OldCTNode)
|
||||||
|
or (CTNode=nil)
|
||||||
then begin
|
then begin
|
||||||
{$ifdef VerboseLazDoc}
|
{$ifdef VerboseLazDoc}
|
||||||
debugln(['TCodeHelpManager.GetHTMLHint inherited not found: ',dbgs(OldXYPos)]);
|
debugln(['TCodeHelpManager.GetHTMLHint inherited not found: ',dbgs(OldXYPos)]);
|
||||||
|
Loading…
Reference in New Issue
Block a user