mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 04:29:25 +02:00
codetools: added example FindReferences
git-svn-id: trunk@63087 -
This commit is contained in:
parent
c5c9d0014f
commit
ced548bb66
@ -140,8 +140,9 @@ begin
|
||||
writeln('FindReferences failed in "',Code.Filename,'"');
|
||||
continue;
|
||||
end;
|
||||
// add references to tree
|
||||
if ListOfPCodeXYPosition=nil then continue;
|
||||
// In order to show all references after any parser error, they are
|
||||
// collected in a tree
|
||||
if TreeOfPCodeXYPosition=nil then
|
||||
TreeOfPCodeXYPosition:=CodeToolBoss.CreateTreeOfPCodeXYPosition;
|
||||
CodeToolBoss.AddListToTreeOfPCodeXYPosition(ListOfPCodeXYPosition,
|
||||
|
Loading…
Reference in New Issue
Block a user