mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-07 10:52:43 +02:00
36 lines
719 B
ObjectPascal
36 lines
719 B
ObjectPascal
unit LazDelphiReg;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, IDEIntf, IDEOptionsIntf, IDEOptEditorIntf, IDEExternToolIntf, delphitool, fradelphioptions;
|
|
|
|
var
|
|
IDEDelphiCompilerParserClass : TDelphiCompilerParserClass = nil;
|
|
|
|
var
|
|
DelphiToolsFrameID: integer = 1001;
|
|
|
|
procedure Register;
|
|
|
|
implementation
|
|
|
|
uses delphioptions;
|
|
|
|
procedure Register;
|
|
begin
|
|
if IDEDelphiCompilerParserClass=Nil then
|
|
IDEDelphiCompilerParserClass:=TDelphiCompilerParser;
|
|
ExternalToolList.RegisterParser(IDEDelphiCompilerParserClass);
|
|
DelphiToolsFrameID:=RegisterIDEOptionsEditor( GroupEnvironment,TDelphiOptionsFrame, DelphiToolsFrameID)^.Index;
|
|
DelphiToolOptions.Load;
|
|
TDelphiTool.Instance.Hook;
|
|
|
|
end;
|
|
|
|
|
|
end.
|
|
|