mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 12:19:31 +02:00
codetools: clean up
git-svn-id: trunk@26154 -
This commit is contained in:
parent
433b03a717
commit
cde3a2dc45
@ -1,13 +1,13 @@
|
||||
{ This file was automatically created by Lazarus. Do not edit!
|
||||
This source is only used to compile and install the package.
|
||||
This source is only used to compile and install the package.
|
||||
}
|
||||
|
||||
unit ChmHelpPkg;
|
||||
unit chmhelppkg;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
LazChmHelp, LazarusPackageIntf;
|
||||
LazChmHelp, LazarusPackageIntf;
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -3923,17 +3923,6 @@ var
|
||||
PosTree.Add(p);
|
||||
end;
|
||||
|
||||
procedure AddCodePosition(const NewCodePos: TCodeXYPosition);
|
||||
var
|
||||
AddCodePos: PCodeXYPosition;
|
||||
begin
|
||||
if ListOfPCodeXYPosition=nil then ListOfPCodeXYPosition:=TFPList.Create;
|
||||
New(AddCodePos);
|
||||
AddCodePos^:=NewCodePos;
|
||||
ListOfPCodeXYPosition.Add(AddCodePos);
|
||||
//debugln('TFindDeclarationTool.FindReferences.AddCodePosition line=',dbgs(NewCodePos.Y),' col=',dbgs(NewCodePos.X));
|
||||
end;
|
||||
|
||||
procedure ReadIdentifier(IsComment: boolean);
|
||||
var
|
||||
IdentEndPos: LongInt;
|
||||
@ -4267,7 +4256,7 @@ begin
|
||||
while AVLNode<>nil do begin
|
||||
StartPos:=PChar(AVLNode.Data)-PChar(Pointer(Src))+1;
|
||||
if CleanPosToCaret(StartPos,ReferencePos) then
|
||||
AddCodePosition(ReferencePos);
|
||||
AddCodePosition(ListOfPCodeXYPosition,ReferencePos);
|
||||
AVLNode:=PosTree.FindPrecessor(AVLNode);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user