mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 04:37:35 +01:00
IdePackager: Remove IDEOptEditorIntf dependency from PackageSystem.
This commit is contained in:
parent
76ece6197b
commit
fdc1806f53
@ -217,7 +217,7 @@ begin
|
||||
if Rec = nil then
|
||||
begin
|
||||
if not AutoCreateGroup then
|
||||
raise Exception.Create('RegisterIDEOptionsEditor: missing Group');
|
||||
raise Exception.Create('RegisterIDEOptionsEditor: missing Group '+IntToStr(AGroupIndex));
|
||||
Rec := RegisterIDEOptionsGroup(AGroupIndex, nil);
|
||||
end;
|
||||
|
||||
|
||||
@ -44,6 +44,7 @@ uses
|
||||
IDEOptionsIntf,
|
||||
IDEOptEditorIntf,
|
||||
EnvironmentOpts, IDECmdLine, LazConf,
|
||||
PackageDefs,
|
||||
LazarusIDEStrConsts;
|
||||
|
||||
type
|
||||
@ -994,6 +995,8 @@ initialization
|
||||
RegisterIDEOptionsGroup(GroupEnvironment, TEnvironmentOptions);
|
||||
FLazIDEInstances := TIDEInstances.Create(nil);
|
||||
FLazIDEInstances.InitIDEInstances;
|
||||
RegisterIDEOptionsGroup(GroupPackage, TPackageIDEOptions);
|
||||
RegisterIDEOptionsGroup(GroupPkgCompiler, TPkgCompilerOptions);
|
||||
|
||||
finalization
|
||||
FreeAndNil(FLazIDEInstances);
|
||||
|
||||
@ -52,11 +52,10 @@ uses
|
||||
FileProcs, DefineTemplates, CodeToolManager, CodeCache, DirectoryCacher,
|
||||
BasicCodeTools, NonPascalCodeTools, SourceChanger,
|
||||
// BuildIntf
|
||||
IDEExternToolIntf, IDEOptionsIntf, MacroDefIntf, ProjectIntf, CompOptsIntf,
|
||||
IDEExternToolIntf, MacroDefIntf, ProjectIntf, CompOptsIntf, LazMsgWorker,
|
||||
FppkgIntf, PackageDependencyIntf, PackageLinkIntf, PackageIntf, ComponentReg,
|
||||
LazMsgWorker,
|
||||
// IDEIntf
|
||||
IDEMsgIntf, LazIDEIntf, IDEOptEditorIntf,
|
||||
IDEMsgIntf, LazIDEIntf,
|
||||
// Package registration
|
||||
LazarusPackageIntf,
|
||||
// IdeUtils
|
||||
@ -6713,10 +6712,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
initialization
|
||||
RegisterIDEOptionsGroup(GroupPackage, TPackageIDEOptions);
|
||||
RegisterIDEOptionsGroup(GroupPkgCompiler, TPkgCompilerOptions);
|
||||
|
||||
end.
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user