mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-04 16:36:39 +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 }
|
{ jcf }
|
||||||
JcfStringUtils,
|
JcfStringUtils,
|
||||||
{ local }
|
{ local }
|
||||||
fAbout{, fAllSettings, JcfRegistrySettings, fRegistrySettings};
|
fAbout, frFiles {, JcfRegistrySettings, fRegistrySettings};
|
||||||
|
|
||||||
|
|
||||||
function FileIsAllowedType(const psFileName: string): boolean;
|
function FileIsAllowedType(const psFileName: string): boolean;
|
||||||
@ -209,22 +209,9 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TJcfIdeMain.DoFormatSettings(Sender: TObject);
|
procedure TJcfIdeMain.DoFormatSettings(Sender: TObject);
|
||||||
{var
|
|
||||||
lfAllSettings: TFormAllSettings;
|
|
||||||
}
|
|
||||||
begin
|
begin
|
||||||
ShowMessage('unimplemented');
|
// open with the first frame
|
||||||
{ TODO: convert JCF settings form (it contains some TJvXXX components atm)
|
LazarusIDE.DoOpenIDEOptions(TfFiles);
|
||||||
if not GetRegSettings.HasRead then
|
|
||||||
GetRegSettings.ReadAll;
|
|
||||||
|
|
||||||
lfAllSettings := TFormAllSettings.Create(nil);
|
|
||||||
try
|
|
||||||
lfAllSettings.Execute;
|
|
||||||
finally
|
|
||||||
lfAllSettings.Release;
|
|
||||||
end;
|
|
||||||
}
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TJcfIdeMain.DoAbout(Sender: TObject);
|
procedure TJcfIdeMain.DoAbout(Sender: TObject);
|
||||||
|
Loading…
Reference in New Issue
Block a user