ide: commetns, clean up

This commit is contained in:
mattias 2025-07-11 09:54:12 +02:00
parent 2fbf2c7787
commit a7b0df00a5
2 changed files with 5 additions and 4 deletions

View File

@ -58,7 +58,7 @@ type
procedure menuGroupItemClicked(Sender: TObject); procedure menuGroupItemClicked(Sender: TObject);
procedure SynGutterLineNumber1FormatLineNumber( procedure SynGutterLineNumber1FormatLineNumber(
Sender: TSynGutterLineNumber; ALine: integer; out AText: string; Sender: TSynGutterLineNumber; ALine: integer; out AText: string;
const ALineInfo: TSynEditGutterLineInfo); const {%H-}ALineInfo: TSynEditGutterLineInfo);
procedure btnCancelOffsClick(Sender: TObject); procedure btnCancelOffsClick(Sender: TObject);
private private
FPowerImgIdx, FPowerImgIdxGrey: Integer; FPowerImgIdx, FPowerImgIdxGrey: Integer;

View File

@ -3657,7 +3657,7 @@ begin
if ForceBuild then begin if ForceBuild then begin
// user demands to rebuild the package // user demands to rebuild the package
end else begin end else begin
if (APackage.AutoUpdate=pupManually) then if APackage.AutoUpdate=pupManually then
exit(mrNo); exit(mrNo);
// check the current output directory // check the current output directory
Result:=CheckIfCurPkgOutDirNeedsCompile(APackage, Result:=CheckIfCurPkgOutDirNeedsCompile(APackage,
@ -3779,7 +3779,7 @@ begin
SrcFilename:=APackage.GetSrcFilename; SrcFilename:=APackage.GetSrcFilename;
CompilerFilename:=APackage.GetCompilerFilename; CompilerFilename:=APackage.GetCompilerFilename;
// Note: use absolute paths, because some external tools resolve symlinked directories // Note: use absolute paths, because some external tools resolve symlinked directories and some do not
CompilerParams:=GetPackageCompilerParams(APackage); CompilerParams:=GetPackageCompilerParams(APackage);
try try
o:=APackage.GetOutputDirType; o:=APackage.GetOutputDirType;
@ -4265,7 +4265,8 @@ begin
end; end;
end; end;
// add dependencies between tools of this package (execute before, compile, after) // add dependencies between tools of this package:
// execute before, compile first, compile second, execute after
for j:=1 to BuildItem.Count-1 do begin for j:=1 to BuildItem.Count-1 do begin
Tool1:=BuildItem[j-1]; Tool1:=BuildItem[j-1];
Tool2:=BuildItem[j]; Tool2:=BuildItem[j];