mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:19:19 +02:00
IDE: Move MsgViewShowFPCMsgLinesCompiled to EnvironmentOptions. Allows to reduce dependencies. Cleanup, reorder.
This commit is contained in:
parent
636e902e6a
commit
095b604997
@ -283,7 +283,6 @@ type
|
|||||||
FMsgViewColors: array[TMsgWndColor] of TColor;
|
FMsgViewColors: array[TMsgWndColor] of TColor;
|
||||||
FMsgColors: array[TMessageLineUrgency] of TColor;
|
FMsgColors: array[TMessageLineUrgency] of TColor;
|
||||||
FMsgViewFilters: TLMsgViewFilters;
|
FMsgViewFilters: TLMsgViewFilters;
|
||||||
FMsgViewShowFPCMsgLinesCompiled: Boolean;
|
|
||||||
// desktops
|
// desktops
|
||||||
FDesktops: TDesktopOptList;
|
FDesktops: TDesktopOptList;
|
||||||
FDesktop: TDesktopOpt;
|
FDesktop: TDesktopOpt;
|
||||||
@ -383,7 +382,6 @@ type
|
|||||||
property MsgViewColors[c: TMsgWndColor]: TColor read GetMsgViewColors write SetMsgViewColors;
|
property MsgViewColors[c: TMsgWndColor]: TColor read GetMsgViewColors write SetMsgViewColors;
|
||||||
property MsgViewFilters: TLMsgViewFilters read FMsgViewFilters;
|
property MsgViewFilters: TLMsgViewFilters read FMsgViewFilters;
|
||||||
property MsgColors[u: TMessageLineUrgency]: TColor read GetMsgColors write SetMsgColors;
|
property MsgColors[u: TMessageLineUrgency]: TColor read GetMsgColors write SetMsgColors;
|
||||||
property MsgViewShowFPCMsgLinesCompiled: Boolean read FMsgViewShowFPCMsgLinesCompiled write FMsgViewShowFPCMsgLinesCompiled;
|
|
||||||
// desktops
|
// desktops
|
||||||
property Desktops: TDesktopOptList read FDesktops;
|
property Desktops: TDesktopOptList read FDesktops;
|
||||||
property Desktop: TDesktopOpt read FDesktop; // the working desktop, standalone
|
property Desktop: TDesktopOpt read FDesktop; // the working desktop, standalone
|
||||||
@ -968,7 +966,6 @@ begin
|
|||||||
for u:=low(TMessageLineUrgency) to high(TMessageLineUrgency) do
|
for u:=low(TMessageLineUrgency) to high(TMessageLineUrgency) do
|
||||||
fMsgColors[u] := clDefault;
|
fMsgColors[u] := clDefault;
|
||||||
FMsgViewFilters:=TLMsgViewFilters.Create(nil);
|
FMsgViewFilters:=TLMsgViewFilters.Create(nil);
|
||||||
FMsgViewShowFPCMsgLinesCompiled:=false;
|
|
||||||
// Desktop collection
|
// Desktop collection
|
||||||
FDesktops := TDesktopOptList.Create;
|
FDesktops := TDesktopOptList.Create;
|
||||||
// FDesktop points to the IDE properties
|
// FDesktop points to the IDE properties
|
||||||
@ -1060,7 +1057,6 @@ begin
|
|||||||
fMsgColors[u] := XMLCfg.GetValue(
|
fMsgColors[u] := XMLCfg.GetValue(
|
||||||
Path+'MsgView/MsgColors/'+dbgs(u),clDefault);
|
Path+'MsgView/MsgColors/'+dbgs(u),clDefault);
|
||||||
FMsgViewFilters.LoadFromXMLConfig(XMLCfg,'MsgView/Filters/');
|
FMsgViewFilters.LoadFromXMLConfig(XMLCfg,'MsgView/Filters/');
|
||||||
FMsgViewShowFPCMsgLinesCompiled:=XMLCfg.GetValue(Path+'MsgView/FPCMsg/ShowLinesCompiled',false);
|
|
||||||
// IDEEditorGroups
|
// IDEEditorGroups
|
||||||
for i := 0 to IDEEditorGroups.Count-1 do
|
for i := 0 to IDEEditorGroups.Count-1 do
|
||||||
begin
|
begin
|
||||||
@ -1188,7 +1184,6 @@ begin
|
|||||||
XMLCfg.SetDeleteValue(Path+'MsgView/MsgColors/'+dbgs(u),
|
XMLCfg.SetDeleteValue(Path+'MsgView/MsgColors/'+dbgs(u),
|
||||||
fMsgColors[u],clDefault);
|
fMsgColors[u],clDefault);
|
||||||
MsgViewFilters.SaveToXMLConfig(XMLCfg,'MsgView/Filters/');
|
MsgViewFilters.SaveToXMLConfig(XMLCfg,'MsgView/Filters/');
|
||||||
XMLCfg.SetDeleteValue(Path+'MsgView/FPCMsg/ShowLinesCompiled',FMsgViewShowFPCMsgLinesCompiled,false);
|
|
||||||
// IDEEditorGroups
|
// IDEEditorGroups
|
||||||
for i := 0 to IDEEditorGroups.Count-1 do
|
for i := 0 to IDEEditorGroups.Count-1 do
|
||||||
begin
|
begin
|
||||||
|
@ -1441,7 +1441,7 @@ begin
|
|||||||
Result:=true;
|
Result:=true;
|
||||||
MsgLine:=CreateMsgLine;
|
MsgLine:=CreateMsgLine;
|
||||||
MsgLine.SubTool:=DefaultSubTool;
|
MsgLine.SubTool:=DefaultSubTool;
|
||||||
if EnvironmentGuiOpts.MsgViewShowFPCMsgLinesCompiled then
|
if EnvironmentOptions.MsgViewShowFPCMsgLinesCompiled then
|
||||||
MsgLine.Urgency:=mluImportant
|
MsgLine.Urgency:=mluImportant
|
||||||
else
|
else
|
||||||
MsgLine.Urgency:=mluVerbose;
|
MsgLine.Urgency:=mluVerbose;
|
||||||
@ -2744,7 +2744,7 @@ begin
|
|||||||
FPCMsgIDThereWereErrorsCompiling: // There were $1 errors compiling module, stopping
|
FPCMsgIDThereWereErrorsCompiling: // There were $1 errors compiling module, stopping
|
||||||
MsgUrgency:=mluVerbose;
|
MsgUrgency:=mluVerbose;
|
||||||
FPCMsgIDLinesCompiled: // n lines compiled, m sec
|
FPCMsgIDLinesCompiled: // n lines compiled, m sec
|
||||||
if EnvironmentGuiOpts.MsgViewShowFPCMsgLinesCompiled then
|
if EnvironmentOptions.MsgViewShowFPCMsgLinesCompiled then
|
||||||
MsgUrgency:=mluImportant;
|
MsgUrgency:=mluImportant;
|
||||||
end;
|
end;
|
||||||
MsgLine:=CreateMsgLine;
|
MsgLine:=CreateMsgLine;
|
||||||
|
@ -276,8 +276,8 @@ begin
|
|||||||
MWShowIconsCheckBox.Checked := ShowMessagesIcons;
|
MWShowIconsCheckBox.Checked := ShowMessagesIcons;
|
||||||
MWAlwaysDrawFocusedCheckBox.Checked := MsgViewAlwaysDrawFocused;
|
MWAlwaysDrawFocusedCheckBox.Checked := MsgViewAlwaysDrawFocused;
|
||||||
MWFocusCheckBox.Checked := MsgViewFocus;
|
MWFocusCheckBox.Checked := MsgViewFocus;
|
||||||
MWShowFPCMsgLinesCompiledCheckBox.Checked := MsgViewShowFPCMsgLinesCompiled;
|
|
||||||
end;
|
end;
|
||||||
|
MWShowFPCMsgLinesCompiledCheckBox.Checked := EnvOpt.MsgViewShowFPCMsgLinesCompiled;
|
||||||
MWMaxProcsSpinEdit.Value := EnvOpt.MaxExtToolsInParallel;
|
MWMaxProcsSpinEdit.Value := EnvOpt.MaxExtToolsInParallel;
|
||||||
fReady:=true;
|
fReady:=true;
|
||||||
end;
|
end;
|
||||||
@ -300,8 +300,8 @@ begin
|
|||||||
ShowMessagesIcons := MWShowIconsCheckBox.Checked;
|
ShowMessagesIcons := MWShowIconsCheckBox.Checked;
|
||||||
MsgViewAlwaysDrawFocused := MWAlwaysDrawFocusedCheckBox.Checked;
|
MsgViewAlwaysDrawFocused := MWAlwaysDrawFocusedCheckBox.Checked;
|
||||||
MsgViewFocus := MWFocusCheckBox.Checked;
|
MsgViewFocus := MWFocusCheckBox.Checked;
|
||||||
MsgViewShowFPCMsgLinesCompiled := MWShowFPCMsgLinesCompiledCheckBox.Checked;
|
|
||||||
end;
|
end;
|
||||||
|
EnvOpt.MsgViewShowFPCMsgLinesCompiled := MWShowFPCMsgLinesCompiledCheckBox.Checked;
|
||||||
EnvOpt.MaxExtToolsInParallel := MWMaxProcsSpinEdit.Value;
|
EnvOpt.MaxExtToolsInParallel := MWMaxProcsSpinEdit.Value;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -267,6 +267,8 @@ type
|
|||||||
FLastOpenPackages: TLastOpenPackagesList;//list of filenames with open packages
|
FLastOpenPackages: TLastOpenPackagesList;//list of filenames with open packages
|
||||||
// comboboxes
|
// comboboxes
|
||||||
FDropDownCount: Integer;
|
FDropDownCount: Integer;
|
||||||
|
// messages view
|
||||||
|
FMsgViewShowFPCMsgLinesCompiled: Boolean;
|
||||||
// project inspector
|
// project inspector
|
||||||
FProjInspSortAlphabetically: boolean;
|
FProjInspSortAlphabetically: boolean;
|
||||||
FProjInspShowDirHierarchy: boolean;
|
FProjInspShowDirHierarchy: boolean;
|
||||||
@ -517,6 +519,9 @@ type
|
|||||||
property LanguageID: string read fLanguageID write fLanguageID;
|
property LanguageID: string read fLanguageID write fLanguageID;
|
||||||
// comboboxes
|
// comboboxes
|
||||||
property DropDownCount: Integer read FDropDownCount write FDropDownCount;
|
property DropDownCount: Integer read FDropDownCount write FDropDownCount;
|
||||||
|
// messages view
|
||||||
|
property MsgViewShowFPCMsgLinesCompiled: Boolean read FMsgViewShowFPCMsgLinesCompiled
|
||||||
|
write FMsgViewShowFPCMsgLinesCompiled;
|
||||||
// default template for each 'new item' category: Name=Path, Value=TemplateName
|
// default template for each 'new item' category: Name=Path, Value=TemplateName
|
||||||
property NewFormTemplate: string read FNewFormTemplate write FNewFormTemplate;
|
property NewFormTemplate: string read FNewFormTemplate write FNewFormTemplate;
|
||||||
property NewUnitTemplate: string read FNewUnitTemplate write FNewUnitTemplate;
|
property NewUnitTemplate: string read FNewUnitTemplate write FNewUnitTemplate;
|
||||||
@ -1000,8 +1005,6 @@ begin
|
|||||||
FAutoSaveIntervalInSecs:=FXMLCfg.GetValue(Path+'AutoSave/IntervalInSecs',DefaultAutoSaveIntervalInSecs);
|
FAutoSaveIntervalInSecs:=FXMLCfg.GetValue(Path+'AutoSave/IntervalInSecs',DefaultAutoSaveIntervalInSecs);
|
||||||
FLastSavedProjectFile:=FXMLCfg.GetValue(Path+'AutoSave/LastSavedProjectFile','');
|
FLastSavedProjectFile:=FXMLCfg.GetValue(Path+'AutoSave/LastSavedProjectFile','');
|
||||||
FOpenLastProjectAtStart:=FXMLCfg.GetValue(Path+'AutoSave/OpenLastProjectAtStart',true);
|
FOpenLastProjectAtStart:=FXMLCfg.GetValue(Path+'AutoSave/OpenLastProjectAtStart',true);
|
||||||
FNewProjectTemplateAtStart:=FXMLCfg.GetValue(Path+'NewProjectTemplateAtStart/Value','Application');
|
|
||||||
//FAutoSaveActiveDesktop:=FXMLCfg.GetValue(Path+'AutoSave/ActiveDesktop',True);
|
|
||||||
FLastOpenPackages.Clear;
|
FLastOpenPackages.Clear;
|
||||||
if FOpenLastProjectAtStart then
|
if FOpenLastProjectAtStart then
|
||||||
begin
|
begin
|
||||||
@ -1017,17 +1020,16 @@ begin
|
|||||||
// project inspector
|
// project inspector
|
||||||
FProjInspSortAlphabetically:=FXMLCfg.GetValue(Path+'ProjInspSortAlphabetically/Value',false);
|
FProjInspSortAlphabetically:=FXMLCfg.GetValue(Path+'ProjInspSortAlphabetically/Value',false);
|
||||||
FProjInspShowDirHierarchy:=FXMLCfg.GetValue(Path+'ProjInspShowDirHierarchy/Value',false);
|
FProjInspShowDirHierarchy:=FXMLCfg.GetValue(Path+'ProjInspShowDirHierarchy/Value',false);
|
||||||
|
|
||||||
// package editor
|
// package editor
|
||||||
FPackageEditorSortAlphabetically:=FXMLCfg.GetValue(Path+'PackageEditorSortAlphabetically/Value',false);
|
FPackageEditorSortAlphabetically:=FXMLCfg.GetValue(Path+'PackageEditorSortAlphabetically/Value',false);
|
||||||
FPackageEditorShowDirHierarchy:=FXMLCfg.GetValue(Path+'PackageEditorShowDirHierarchy/Value',false);
|
FPackageEditorShowDirHierarchy:=FXMLCfg.GetValue(Path+'PackageEditorShowDirHierarchy/Value',false);
|
||||||
|
|
||||||
// procedure list
|
// procedure list
|
||||||
FProcedureListFilterStart:=FXMLCfg.GetValue(Path+'ProcedureListFilterStart/Value',false);
|
FProcedureListFilterStart:=FXMLCfg.GetValue(Path+'ProcedureListFilterStart/Value',false);
|
||||||
FCheckDiskChangesWithLoading:=FXMLCfg.GetValue(Path+'CheckDiskChangesWithLoading/Value',false);
|
FCheckDiskChangesWithLoading:=FXMLCfg.GetValue(Path+'CheckDiskChangesWithLoading/Value',false);
|
||||||
|
|
||||||
// comboboxes
|
// comboboxes
|
||||||
FDropDownCount:=FXMLCfg.GetValue(Path+'ComboBoxes/DropDownCount',DefaultDropDownCount);
|
FDropDownCount:=FXMLCfg.GetValue(Path+'ComboBoxes/DropDownCount',DefaultDropDownCount);
|
||||||
|
// messages view
|
||||||
|
FMsgViewShowFPCMsgLinesCompiled:=XMLCfg.GetValue(Path+'MsgView/FPCMsg/ShowLinesCompiled',false);
|
||||||
|
|
||||||
// recent files and directories
|
// recent files and directories
|
||||||
FMaxRecentOpenFiles:=FXMLCfg.GetValue(Path+'Recent/OpenFiles/Max',DefaultMaxRecentOpenFiles);
|
FMaxRecentOpenFiles:=FXMLCfg.GetValue(Path+'Recent/OpenFiles/Max',DefaultMaxRecentOpenFiles);
|
||||||
@ -1036,7 +1038,8 @@ begin
|
|||||||
LoadRecentList(FXMLCfg,FRecentProjectFiles,Path+'Recent/ProjectFiles/',rltFile);
|
LoadRecentList(FXMLCfg,FRecentProjectFiles,Path+'Recent/ProjectFiles/',rltFile);
|
||||||
FMaxRecentPackageFiles:=FXMLCfg.GetValue(Path+'Recent/PackageFiles/Max',DefaultMaxRecentPackageFiles);
|
FMaxRecentPackageFiles:=FXMLCfg.GetValue(Path+'Recent/PackageFiles/Max',DefaultMaxRecentPackageFiles);
|
||||||
LoadRecentList(FXMLCfg,FRecentPackageFiles,Path+'Recent/PackageFiles/',rltFile);
|
LoadRecentList(FXMLCfg,FRecentPackageFiles,Path+'Recent/PackageFiles/',rltFile);
|
||||||
|
FNewProjectTemplateAtStart:=FXMLCfg.GetValue(Path+'NewProjectTemplateAtStart/Value','Application');
|
||||||
|
FMultipleInstances:=StrToIDEMultipleInstancesOption(FXMLCfg.GetValue(Path+'MultipleInstances/Value',''));
|
||||||
FAlreadyPopulatedRecentFiles := FXMLCfg.GetValue(Path+'Recent/AlreadyPopulated', false);
|
FAlreadyPopulatedRecentFiles := FXMLCfg.GetValue(Path+'Recent/AlreadyPopulated', false);
|
||||||
|
|
||||||
// other recent settings
|
// other recent settings
|
||||||
@ -1075,7 +1078,6 @@ begin
|
|||||||
Path+'UnitRenameReferencesAction/Value',UnitRenameReferencesActionNames[urraAsk]));
|
Path+'UnitRenameReferencesAction/Value',UnitRenameReferencesActionNames[urraAsk]));
|
||||||
FAskForFilenameOnNewFile:=FXMLCfg.GetValue(Path+'AskForFilenameOnNewFile/Value',false);
|
FAskForFilenameOnNewFile:=FXMLCfg.GetValue(Path+'AskForFilenameOnNewFile/Value',false);
|
||||||
FLowercaseDefaultFilename:=FXMLCfg.GetValue(Path+'LowercaseDefaultFilename/Value',true);
|
FLowercaseDefaultFilename:=FXMLCfg.GetValue(Path+'LowercaseDefaultFilename/Value',true);
|
||||||
FMultipleInstances:=StrToIDEMultipleInstancesOption(FXMLCfg.GetValue(Path+'MultipleInstances/Value',''));
|
|
||||||
|
|
||||||
// fpdoc
|
// fpdoc
|
||||||
FPDocPaths := FXMLCfg.GetValue(Path+'LazDoc/Paths','');
|
FPDocPaths := FXMLCfg.GetValue(Path+'LazDoc/Paths','');
|
||||||
@ -1212,9 +1214,6 @@ begin
|
|||||||
FXMLCfg.SetDeleteValue(Path+'AutoSave/IntervalInSecs',FAutoSaveIntervalInSecs,DefaultAutoSaveIntervalInSecs);
|
FXMLCfg.SetDeleteValue(Path+'AutoSave/IntervalInSecs',FAutoSaveIntervalInSecs,DefaultAutoSaveIntervalInSecs);
|
||||||
FXMLCfg.SetDeleteValue(Path+'AutoSave/LastSavedProjectFile',FLastSavedProjectFile,'');
|
FXMLCfg.SetDeleteValue(Path+'AutoSave/LastSavedProjectFile',FLastSavedProjectFile,'');
|
||||||
FXMLCfg.SetDeleteValue(Path+'AutoSave/OpenLastProjectAtStart',FOpenLastProjectAtStart,true);
|
FXMLCfg.SetDeleteValue(Path+'AutoSave/OpenLastProjectAtStart',FOpenLastProjectAtStart,true);
|
||||||
|
|
||||||
FXMLCfg.SetDeleteValue(Path+'NewProjectTemplateAtStart/Value',FNewProjectTemplateAtStart,'Application');
|
|
||||||
//FXMLCfg.SetDeleteValue(Path+'AutoSave/ActiveDesktop', FAutoSaveActiveDesktop, True);
|
|
||||||
FXMLCfg.DeletePath(Path+'AutoSave/LastOpenPackages/');
|
FXMLCfg.DeletePath(Path+'AutoSave/LastOpenPackages/');
|
||||||
if FOpenLastProjectAtStart then
|
if FOpenLastProjectAtStart then
|
||||||
for i := 0 to FLastOpenPackages.Count-1 do
|
for i := 0 to FLastOpenPackages.Count-1 do
|
||||||
@ -1223,17 +1222,16 @@ begin
|
|||||||
// project inspector
|
// project inspector
|
||||||
FXMLCfg.SetDeleteValue(Path+'ProjInspSortAlphabetically/Value',FProjInspSortAlphabetically,false);
|
FXMLCfg.SetDeleteValue(Path+'ProjInspSortAlphabetically/Value',FProjInspSortAlphabetically,false);
|
||||||
FXMLCfg.SetDeleteValue(Path+'ProjInspShowDirHierarchy/Value',FProjInspShowDirHierarchy,false);
|
FXMLCfg.SetDeleteValue(Path+'ProjInspShowDirHierarchy/Value',FProjInspShowDirHierarchy,false);
|
||||||
|
|
||||||
// package editor
|
// package editor
|
||||||
FXMLCfg.SetDeleteValue(Path+'PackageEditorSortAlphabetically/Value',FPackageEditorSortAlphabetically,false);
|
FXMLCfg.SetDeleteValue(Path+'PackageEditorSortAlphabetically/Value',FPackageEditorSortAlphabetically,false);
|
||||||
FXMLCfg.SetDeleteValue(Path+'PackageEditorShowDirHierarchy/Value',FPackageEditorShowDirHierarchy,false);
|
FXMLCfg.SetDeleteValue(Path+'PackageEditorShowDirHierarchy/Value',FPackageEditorShowDirHierarchy,false);
|
||||||
|
|
||||||
// procedure list
|
// procedure list
|
||||||
FXMLCfg.SetDeleteValue(Path+'ProcedureListFilterStart/Value',FProcedureListFilterStart,false);
|
FXMLCfg.SetDeleteValue(Path+'ProcedureListFilterStart/Value',FProcedureListFilterStart,false);
|
||||||
FXMLCfg.SetDeleteValue(Path+'CheckDiskChangesWithLoading/Value',FCheckDiskChangesWithLoading,false);
|
FXMLCfg.SetDeleteValue(Path+'CheckDiskChangesWithLoading/Value',FCheckDiskChangesWithLoading,false);
|
||||||
|
|
||||||
// comboboxes
|
// comboboxes
|
||||||
FXMLCfg.SetDeleteValue(Path+'ComboBoxes/DropDownCount',FDropDownCount,DefaultDropDownCount);
|
FXMLCfg.SetDeleteValue(Path+'ComboBoxes/DropDownCount',FDropDownCount,DefaultDropDownCount);
|
||||||
|
// messages view
|
||||||
|
XMLCfg.SetDeleteValue(Path+'MsgView/FPCMsg/ShowLinesCompiled',FMsgViewShowFPCMsgLinesCompiled,false);
|
||||||
|
|
||||||
// recent files and directories
|
// recent files and directories
|
||||||
FXMLCfg.SetDeleteValue(Path+'Recent/OpenFiles/Max',FMaxRecentOpenFiles,DefaultMaxRecentOpenFiles);
|
FXMLCfg.SetDeleteValue(Path+'Recent/OpenFiles/Max',FMaxRecentOpenFiles,DefaultMaxRecentOpenFiles);
|
||||||
@ -1242,7 +1240,10 @@ begin
|
|||||||
SaveRecentList(FXMLCfg,FRecentProjectFiles,Path+'Recent/ProjectFiles/',FMaxRecentProjectFiles);
|
SaveRecentList(FXMLCfg,FRecentProjectFiles,Path+'Recent/ProjectFiles/',FMaxRecentProjectFiles);
|
||||||
FXMLCfg.SetDeleteValue(Path+'Recent/PackageFiles/Max',FMaxRecentPackageFiles,DefaultMaxRecentPackageFiles);
|
FXMLCfg.SetDeleteValue(Path+'Recent/PackageFiles/Max',FMaxRecentPackageFiles,DefaultMaxRecentPackageFiles);
|
||||||
SaveRecentList(FXMLCfg,FRecentPackageFiles,Path+'Recent/PackageFiles/',FMaxRecentPackageFiles);
|
SaveRecentList(FXMLCfg,FRecentPackageFiles,Path+'Recent/PackageFiles/',FMaxRecentPackageFiles);
|
||||||
|
FXMLCfg.SetDeleteValue(Path+'NewProjectTemplateAtStart/Value',FNewProjectTemplateAtStart,'Application');
|
||||||
|
FXMLCfg.SetDeleteValue(Path+'MultipleInstances/Value',
|
||||||
|
IDEMultipleInstancesOptionNames[FMultipleInstances],
|
||||||
|
IDEMultipleInstancesOptionNames[DefaultIDEMultipleInstancesOption]);
|
||||||
FXMLCfg.SetDeleteValue(Path+'Recent/AlreadyPopulated', FAlreadyPopulatedRecentFiles, false);
|
FXMLCfg.SetDeleteValue(Path+'Recent/AlreadyPopulated', FAlreadyPopulatedRecentFiles, false);
|
||||||
|
|
||||||
// other recent settings
|
// other recent settings
|
||||||
@ -1266,13 +1267,8 @@ begin
|
|||||||
FXMLCfg.SetDeleteValue(Path+'AmbiguousFileAction/Value',
|
FXMLCfg.SetDeleteValue(Path+'AmbiguousFileAction/Value',
|
||||||
AmbiguousFileActionNames[fAmbiguousFileAction],
|
AmbiguousFileActionNames[fAmbiguousFileAction],
|
||||||
AmbiguousFileActionNames[afaAsk]);
|
AmbiguousFileActionNames[afaAsk]);
|
||||||
FXMLCfg.SetDeleteValue(Path+'AskForFilenameOnNewFile/Value',
|
FXMLCfg.SetDeleteValue(Path+'AskForFilenameOnNewFile/Value',FAskForFilenameOnNewFile,false);
|
||||||
FAskForFilenameOnNewFile,false);
|
FXMLCfg.SetDeleteValue(Path+'LowercaseDefaultFilename/Value',FLowercaseDefaultFilename,true);
|
||||||
FXMLCfg.SetDeleteValue(Path+'LowercaseDefaultFilename/Value',
|
|
||||||
FLowercaseDefaultFilename,true);
|
|
||||||
FXMLCfg.SetDeleteValue(Path+'MultipleInstances/Value',
|
|
||||||
IDEMultipleInstancesOptionNames[FMultipleInstances],
|
|
||||||
IDEMultipleInstancesOptionNames[DefaultIDEMultipleInstancesOption]);
|
|
||||||
|
|
||||||
// fpdoc
|
// fpdoc
|
||||||
FXMLCfg.SetDeleteValue(Path+'LazDoc/Paths',FPDocPaths,'');
|
FXMLCfg.SetDeleteValue(Path+'LazDoc/Paths',FPDocPaths,'');
|
||||||
|
Loading…
Reference in New Issue
Block a user