mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-23 18:45:59 +02:00
jcf: implementing showing of format option from the JCF menu
git-svn-id: trunk@23132 -
This commit is contained in:
parent
5c498e6e64
commit
60f580fe1a
@ -81,7 +81,7 @@ uses
|
||||
{ jcf }
|
||||
JcfStringUtils,
|
||||
{ local }
|
||||
fAbout{, fAllSettings, JcfRegistrySettings, fRegistrySettings};
|
||||
fAbout, frFiles {, JcfRegistrySettings, fRegistrySettings};
|
||||
|
||||
|
||||
function FileIsAllowedType(const psFileName: string): boolean;
|
||||
@ -209,22 +209,9 @@ begin
|
||||
end;
|
||||
|
||||
procedure TJcfIdeMain.DoFormatSettings(Sender: TObject);
|
||||
{var
|
||||
lfAllSettings: TFormAllSettings;
|
||||
}
|
||||
begin
|
||||
ShowMessage('unimplemented');
|
||||
{ TODO: convert JCF settings form (it contains some TJvXXX components atm)
|
||||
if not GetRegSettings.HasRead then
|
||||
GetRegSettings.ReadAll;
|
||||
|
||||
lfAllSettings := TFormAllSettings.Create(nil);
|
||||
try
|
||||
lfAllSettings.Execute;
|
||||
finally
|
||||
lfAllSettings.Release;
|
||||
end;
|
||||
}
|
||||
// open with the first frame
|
||||
LazarusIDE.DoOpenIDEOptions(TfFiles);
|
||||
end;
|
||||
|
||||
procedure TJcfIdeMain.DoAbout(Sender: TObject);
|
||||
|
Loading…
Reference in New Issue
Block a user