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 SynGutterLineNumber1FormatLineNumber(
Sender: TSynGutterLineNumber; ALine: integer; out AText: string;
const ALineInfo: TSynEditGutterLineInfo);
const {%H-}ALineInfo: TSynEditGutterLineInfo);
procedure btnCancelOffsClick(Sender: TObject);
private
FPowerImgIdx, FPowerImgIdxGrey: Integer;

View File

@ -3657,7 +3657,7 @@ begin
if ForceBuild then begin
// user demands to rebuild the package
end else begin
if (APackage.AutoUpdate=pupManually) then
if APackage.AutoUpdate=pupManually then
exit(mrNo);
// check the current output directory
Result:=CheckIfCurPkgOutDirNeedsCompile(APackage,
@ -3779,7 +3779,7 @@ begin
SrcFilename:=APackage.GetSrcFilename;
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);
try
o:=APackage.GetOutputDirType;
@ -4265,7 +4265,8 @@ begin
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
Tool1:=BuildItem[j-1];
Tool2:=BuildItem[j];