mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 14:40:24 +02:00
IDE: codehelp: used unit: search unit header
git-svn-id: trunk@32460 -
This commit is contained in:
parent
e59acfda40
commit
fb881dac0d
@ -2273,9 +2273,14 @@ begin
|
||||
try
|
||||
// find declaration
|
||||
if not CodeToolBoss.CurCodeTool.FindDeclaration(CursorPos,
|
||||
DefaultFindSmartHintFlags,CTTool,CTNode,XYPos,aTopLine)
|
||||
DefaultFindSmartHintFlags+[fsfSearchSourceName],
|
||||
CTTool,CTNode,XYPos,aTopLine)
|
||||
then
|
||||
exit;
|
||||
if (CTNode=nil) then begin
|
||||
// codetools found a source file, not a declararion
|
||||
exit;
|
||||
end;
|
||||
|
||||
if chhoDeclarationHeader in Options then begin
|
||||
HTMLHint:=HTMLHint+'<div class="header">';
|
||||
|
Loading…
Reference in New Issue
Block a user