mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 20:58:23 +02:00
IDE: moved compiler options - show lines compiled - to environment options
git-svn-id: trunk@49884 -
This commit is contained in:
parent
1fe2796bd0
commit
1b88beb01b
@ -152,7 +152,6 @@ type
|
|||||||
procedure SetShowErrors(const AValue: Boolean);
|
procedure SetShowErrors(const AValue: Boolean);
|
||||||
procedure SetShowExecInfo(const AValue: Boolean);
|
procedure SetShowExecInfo(const AValue: Boolean);
|
||||||
procedure SetShowGenInfo(const AValue: Boolean);
|
procedure SetShowGenInfo(const AValue: Boolean);
|
||||||
procedure SetShowLinesCompiled(const AValue: Boolean);
|
|
||||||
procedure SetShowHints(const AValue: Boolean);
|
procedure SetShowHints(const AValue: Boolean);
|
||||||
procedure SetShowHintsForSenderNotUsed(const AValue: Boolean);
|
procedure SetShowHintsForSenderNotUsed(const AValue: Boolean);
|
||||||
procedure SetShowHintsForUnusedUnitsInMainSrc(const AValue: Boolean);
|
procedure SetShowHintsForUnusedUnitsInMainSrc(const AValue: Boolean);
|
||||||
@ -260,7 +259,6 @@ type
|
|||||||
fShowCond: Boolean;
|
fShowCond: Boolean;
|
||||||
fShowExecInfo: Boolean;
|
fShowExecInfo: Boolean;
|
||||||
fShowSummary: Boolean;
|
fShowSummary: Boolean;
|
||||||
fShowLinesCompiled: Boolean;
|
|
||||||
fShowHintsForUnusedUnitsInMainSrc: Boolean;
|
fShowHintsForUnusedUnitsInMainSrc: Boolean;
|
||||||
fShowHintsForSenderNotUsed: Boolean;
|
fShowHintsForSenderNotUsed: Boolean;
|
||||||
fWriteFPCLogo: Boolean;
|
fWriteFPCLogo: Boolean;
|
||||||
@ -423,7 +421,6 @@ type
|
|||||||
property ShowCond: Boolean read fShowCond write SetShowCond; // -vc
|
property ShowCond: Boolean read fShowCond write SetShowCond; // -vc
|
||||||
property ShowExecInfo: Boolean read fShowExecInfo write SetShowExecInfo; // -vx
|
property ShowExecInfo: Boolean read fShowExecInfo write SetShowExecInfo; // -vx
|
||||||
property ShowSummary: Boolean read FShowSummary write SetShowSummary; deprecated; // summary is now always shown (in the header)
|
property ShowSummary: Boolean read FShowSummary write SetShowSummary; deprecated; // summary is now always shown (in the header)
|
||||||
property ShowLinesCompiled: Boolean read fShowLinesCompiled write SetShowLinesCompiled;
|
|
||||||
property ShowHintsForUnusedUnitsInMainSrc: Boolean
|
property ShowHintsForUnusedUnitsInMainSrc: Boolean
|
||||||
read fShowHintsForUnusedUnitsInMainSrc write SetShowHintsForUnusedUnitsInMainSrc;
|
read fShowHintsForUnusedUnitsInMainSrc write SetShowHintsForUnusedUnitsInMainSrc;
|
||||||
property ShowHintsForSenderNotUsed: Boolean
|
property ShowHintsForSenderNotUsed: Boolean
|
||||||
@ -740,13 +737,6 @@ begin
|
|||||||
IncreaseChangeStamp;
|
IncreaseChangeStamp;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TLazCompilerOptions.SetShowLinesCompiled(const AValue: Boolean);
|
|
||||||
begin
|
|
||||||
if fShowLinesCompiled=AValue then Exit;
|
|
||||||
fShowLinesCompiled:=AValue;
|
|
||||||
IncreaseChangeStamp;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TLazCompilerOptions.SetStackSize(const AValue: Integer);
|
procedure TLazCompilerOptions.SetStackSize(const AValue: Integer);
|
||||||
begin
|
begin
|
||||||
if fStackSize=AValue then exit;
|
if fStackSize=AValue then exit;
|
||||||
|
@ -337,7 +337,7 @@ begin
|
|||||||
Tool.CmdLineParams:=CmdLine;
|
Tool.CmdLineParams:=CmdLine;
|
||||||
Tool.Process.CurrentDirectory:=WorkingDir;
|
Tool.Process.CurrentDirectory:=WorkingDir;
|
||||||
FPCParser:=TFPCParser(Tool.AddParsers(SubToolFPC));
|
FPCParser:=TFPCParser(Tool.AddParsers(SubToolFPC));
|
||||||
FPCParser.ShowLinesCompiled:=AProject.CompilerOptions.ShowLinesCompiled;
|
FPCParser.ShowLinesCompiled:=EnvironmentOptions.MsgViewShowFPCMsgLinesCompiled;
|
||||||
FPCParser.HideHintsSenderNotUsed:=not AProject.CompilerOptions.ShowHintsForSenderNotUsed;
|
FPCParser.HideHintsSenderNotUsed:=not AProject.CompilerOptions.ShowHintsForSenderNotUsed;
|
||||||
FPCParser.HideHintsUnitNotUsedInMainSource:=not AProject.CompilerOptions.ShowHintsForUnusedUnitsInMainSrc;
|
FPCParser.HideHintsUnitNotUsedInMainSource:=not AProject.CompilerOptions.ShowHintsForUnusedUnitsInMainSrc;
|
||||||
if (not AProject.CompilerOptions.ShowHintsForUnusedUnitsInMainSrc)
|
if (not AProject.CompilerOptions.ShowHintsForUnusedUnitsInMainSrc)
|
||||||
|
@ -1652,7 +1652,6 @@ begin
|
|||||||
ShowCond := aXMLConfig.GetValue(p+'Verbosity/ShowCond/Value', false);
|
ShowCond := aXMLConfig.GetValue(p+'Verbosity/ShowCond/Value', false);
|
||||||
ShowExecInfo := aXMLConfig.GetValue(p+'Verbosity/ShowExecInfo/Value', false);
|
ShowExecInfo := aXMLConfig.GetValue(p+'Verbosity/ShowExecInfo/Value', false);
|
||||||
fShowSummary := aXMLConfig.GetValue(p+'Verbosity/ShowSummary/Value', false);
|
fShowSummary := aXMLConfig.GetValue(p+'Verbosity/ShowSummary/Value', false);
|
||||||
ShowLinesCompiled:=aXMLConfig.GetValue(p+'Verbosity/ShowLinesCompiled/Value', false);
|
|
||||||
ShowHintsForUnusedUnitsInMainSrc := aXMLConfig.GetValue(p+'Verbosity/ShowHintsForUnusedUnitsInMainSrc/Value', false);
|
ShowHintsForUnusedUnitsInMainSrc := aXMLConfig.GetValue(p+'Verbosity/ShowHintsForUnusedUnitsInMainSrc/Value', false);
|
||||||
ShowHintsForSenderNotUsed := aXMLConfig.GetValue(p+'Verbosity/ShowHintsForSenderNotUsed/Value', false);
|
ShowHintsForSenderNotUsed := aXMLConfig.GetValue(p+'Verbosity/ShowHintsForSenderNotUsed/Value', false);
|
||||||
WriteFPCLogo := aXMLConfig.GetValue(p+'WriteFPCLogo/Value', true);
|
WriteFPCLogo := aXMLConfig.GetValue(p+'WriteFPCLogo/Value', true);
|
||||||
@ -1836,7 +1835,6 @@ begin
|
|||||||
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowCond/Value', ShowCond,false);
|
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowCond/Value', ShowCond,false);
|
||||||
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowExecInfo/Value', ShowExecInfo,false);
|
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowExecInfo/Value', ShowExecInfo,false);
|
||||||
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowSummary/Value', fShowSummary,false);
|
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowSummary/Value', fShowSummary,false);
|
||||||
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowLinesCompiled/Value', ShowLinesCompiled,false);
|
|
||||||
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowHintsForUnusedUnitsInMainSrc/Value', ShowHintsForUnusedUnitsInMainSrc,false);
|
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowHintsForUnusedUnitsInMainSrc/Value', ShowHintsForUnusedUnitsInMainSrc,false);
|
||||||
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowHintsForSenderNotUsed/Value', ShowHintsForSenderNotUsed,false);
|
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowHintsForSenderNotUsed/Value', ShowHintsForSenderNotUsed,false);
|
||||||
aXMLConfig.SetDeleteValue(p+'WriteFPCLogo/Value', WriteFPCLogo,true);
|
aXMLConfig.SetDeleteValue(p+'WriteFPCLogo/Value', WriteFPCLogo,true);
|
||||||
@ -3264,7 +3262,6 @@ begin
|
|||||||
fShowCond := false;
|
fShowCond := false;
|
||||||
fShowExecInfo := false;
|
fShowExecInfo := false;
|
||||||
fShowSummary := false;
|
fShowSummary := false;
|
||||||
fShowLinesCompiled := false;
|
|
||||||
fShowHintsForUnusedUnitsInMainSrc := false;
|
fShowHintsForUnusedUnitsInMainSrc := false;
|
||||||
fShowHintsForSenderNotUsed := false;
|
fShowHintsForSenderNotUsed := false;
|
||||||
fWriteFPCLogo := true;
|
fWriteFPCLogo := true;
|
||||||
@ -3377,7 +3374,6 @@ begin
|
|||||||
fShowCond := CompOpts.fShowCond;
|
fShowCond := CompOpts.fShowCond;
|
||||||
fShowCond := CompOpts.fShowExecInfo;
|
fShowCond := CompOpts.fShowExecInfo;
|
||||||
fShowSummary := CompOpts.FShowSummary;
|
fShowSummary := CompOpts.FShowSummary;
|
||||||
fShowLinesCompiled := CompOpts.fShowLinesCompiled;
|
|
||||||
fShowHintsForUnusedUnitsInMainSrc := CompOpts.fShowHintsForUnusedUnitsInMainSrc;
|
fShowHintsForUnusedUnitsInMainSrc := CompOpts.fShowHintsForUnusedUnitsInMainSrc;
|
||||||
fShowHintsForSenderNotUsed := CompOpts.fShowHintsForSenderNotUsed;
|
fShowHintsForSenderNotUsed := CompOpts.fShowHintsForSenderNotUsed;
|
||||||
fWriteFPCLogo := CompOpts.fWriteFPCLogo;
|
fWriteFPCLogo := CompOpts.fWriteFPCLogo;
|
||||||
@ -3527,7 +3523,6 @@ begin
|
|||||||
if Done(Tool.AddDiff('ShowCond',fShowCond,CompOpts.fShowCond)) then exit;
|
if Done(Tool.AddDiff('ShowCond',fShowCond,CompOpts.fShowCond)) then exit;
|
||||||
if Done(Tool.AddDiff('ShowExecInfo',fShowExecInfo,CompOpts.fShowExecInfo)) then exit;
|
if Done(Tool.AddDiff('ShowExecInfo',fShowExecInfo,CompOpts.fShowExecInfo)) then exit;
|
||||||
if Done(Tool.AddDiff('ShowSummary',fShowSummary,CompOpts.fShowSummary)) then exit;
|
if Done(Tool.AddDiff('ShowSummary',fShowSummary,CompOpts.fShowSummary)) then exit;
|
||||||
if Done(Tool.AddDiff('ShowLinesCompiled',fShowLinesCompiled,CompOpts.fShowLinesCompiled)) then exit;
|
|
||||||
if Done(Tool.AddDiff('ShowHintsForUnusedUnitsInMainSrc',fShowHintsForUnusedUnitsInMainSrc,CompOpts.fShowHintsForUnusedUnitsInMainSrc)) then exit;
|
if Done(Tool.AddDiff('ShowHintsForUnusedUnitsInMainSrc',fShowHintsForUnusedUnitsInMainSrc,CompOpts.fShowHintsForUnusedUnitsInMainSrc)) then exit;
|
||||||
if Done(Tool.AddDiff('ShowHintsForSenderNotUsed',fShowHintsForSenderNotUsed,CompOpts.fShowHintsForSenderNotUsed)) then exit;
|
if Done(Tool.AddDiff('ShowHintsForSenderNotUsed',fShowHintsForSenderNotUsed,CompOpts.fShowHintsForSenderNotUsed)) then exit;
|
||||||
if Done(Tool.AddDiff('WriteFPCLogo',fWriteFPCLogo,CompOpts.fWriteFPCLogo)) then exit;
|
if Done(Tool.AddDiff('WriteFPCLogo',fWriteFPCLogo,CompOpts.fWriteFPCLogo)) then exit;
|
||||||
|
@ -439,6 +439,7 @@ type
|
|||||||
FShowCompileDialog: Boolean; // show dialog during compile
|
FShowCompileDialog: Boolean; // show dialog during compile
|
||||||
FAutoCloseCompileDialog: Boolean; // auto close dialog after succesed compile
|
FAutoCloseCompileDialog: Boolean; // auto close dialog after succesed compile
|
||||||
FMsgViewFilters: TLMsgViewFilters;
|
FMsgViewFilters: TLMsgViewFilters;
|
||||||
|
FMsgViewShowFPCMsgLinesCompiled: Boolean;
|
||||||
|
|
||||||
// compiler + debugger + lazarus files
|
// compiler + debugger + lazarus files
|
||||||
FParseValues: array[TEnvOptParseType] of TParseString;
|
FParseValues: array[TEnvOptParseType] of TParseString;
|
||||||
@ -783,6 +784,7 @@ 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;
|
||||||
|
|
||||||
// glyphs
|
// glyphs
|
||||||
property ShowButtonGlyphs: TApplicationShowGlyphs read FShowButtonGlyphs write FShowButtonGlyphs;
|
property ShowButtonGlyphs: TApplicationShowGlyphs read FShowButtonGlyphs write FShowButtonGlyphs;
|
||||||
@ -1284,6 +1286,7 @@ 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;
|
||||||
|
|
||||||
// glyphs
|
// glyphs
|
||||||
FShowButtonGlyphs := sbgSystem;
|
FShowButtonGlyphs := sbgSystem;
|
||||||
@ -1697,6 +1700,7 @@ begin
|
|||||||
fMsgColors[u] := FXMLCfg.GetValue(
|
fMsgColors[u] := FXMLCfg.GetValue(
|
||||||
Path+'MsgView/MsgColors/'+dbgs(u),clDefault);
|
Path+'MsgView/MsgColors/'+dbgs(u),clDefault);
|
||||||
MsgViewFilters.LoadFromXMLConfig(FXMLCfg,'MsgView/Filters/');
|
MsgViewFilters.LoadFromXMLConfig(FXMLCfg,'MsgView/Filters/');
|
||||||
|
FMsgViewShowFPCMsgLinesCompiled:=FXMLCfg.GetValue(Path+'MsgView/FPCMsg/ShowLinesCompiled',false);
|
||||||
|
|
||||||
// glyphs
|
// glyphs
|
||||||
FShowButtonGlyphs := TApplicationShowGlyphs(FXMLCfg.GetValue(Path+'ShowButtonGlyphs/Value',
|
FShowButtonGlyphs := TApplicationShowGlyphs(FXMLCfg.GetValue(Path+'ShowButtonGlyphs/Value',
|
||||||
@ -2027,6 +2031,7 @@ begin
|
|||||||
FXMLCfg.SetDeleteValue(Path+'MsgView/MsgColors/'+dbgs(u),
|
FXMLCfg.SetDeleteValue(Path+'MsgView/MsgColors/'+dbgs(u),
|
||||||
fMsgColors[u],clDefault);
|
fMsgColors[u],clDefault);
|
||||||
MsgViewFilters.SaveToXMLConfig(FXMLCfg,'MsgView/Filters/');
|
MsgViewFilters.SaveToXMLConfig(FXMLCfg,'MsgView/Filters/');
|
||||||
|
FXMLCfg.SetDeleteValue(Path+'MsgView/FPCMsg/ShowLinesCompiled',FMsgViewShowFPCMsgLinesCompiled,false);
|
||||||
|
|
||||||
// glyphs
|
// glyphs
|
||||||
FXMLCfg.SetDeleteValue(Path+'ShowButtonGlyphs/Value',Ord(FShowButtonGlyphs), Ord(sbgSystem));
|
FXMLCfg.SetDeleteValue(Path+'ShowButtonGlyphs/Value',Ord(FShowButtonGlyphs), Ord(sbgSystem));
|
||||||
|
@ -55,7 +55,6 @@ begin
|
|||||||
Items.Add(dlgShowCompiledProcedures + ' (-vp)');
|
Items.Add(dlgShowCompiledProcedures + ' (-vp)');
|
||||||
Items.Add(dlgShowEverything + ' (-va)');
|
Items.Add(dlgShowEverything + ' (-va)');
|
||||||
Items.Add(dlgWriteFPCLogo + ' (-l)');
|
Items.Add(dlgWriteFPCLogo + ' (-l)');
|
||||||
Items.Add('Show hint "lines compiled"' + ' ' + dlgPOIconDescNone);
|
|
||||||
Items.Add(dlgHintsUnused + ' ' + dlgPOIconDescNone);
|
Items.Add(dlgHintsUnused + ' ' + dlgPOIconDescNone);
|
||||||
Items.Add(dlgHintsParameterSenderNotUsed + ' ' + dlgPOIconDescNone);
|
Items.Add(dlgHintsParameterSenderNotUsed + ' ' + dlgPOIconDescNone);
|
||||||
end;
|
end;
|
||||||
@ -83,7 +82,6 @@ begin
|
|||||||
Checked[i] := ShowCompProc; i+=1;
|
Checked[i] := ShowCompProc; i+=1;
|
||||||
Checked[i] := ShowAll; i+=1;
|
Checked[i] := ShowAll; i+=1;
|
||||||
Checked[i] := WriteFPCLogo; i+=1;
|
Checked[i] := WriteFPCLogo; i+=1;
|
||||||
Checked[i] := ShowLinesCompiled; i+=1;
|
|
||||||
Checked[i] := ShowHintsForUnusedUnitsInMainSrc; i+=1;
|
Checked[i] := ShowHintsForUnusedUnitsInMainSrc; i+=1;
|
||||||
Checked[i] := ShowHintsForSenderNotUsed; i+=1;
|
Checked[i] := ShowHintsForSenderNotUsed; i+=1;
|
||||||
|
|
||||||
@ -110,7 +108,6 @@ begin
|
|||||||
ShowCompProc := Checked[i]; i+=1;
|
ShowCompProc := Checked[i]; i+=1;
|
||||||
ShowAll := Checked[i]; i+=1;
|
ShowAll := Checked[i]; i+=1;
|
||||||
WriteFPCLogo := Checked[i]; i+=1;
|
WriteFPCLogo := Checked[i]; i+=1;
|
||||||
ShowLinesCompiled := Checked[i]; i+=1;
|
|
||||||
ShowHintsForUnusedUnitsInMainSrc := Checked[i]; i+=1;
|
ShowHintsForUnusedUnitsInMainSrc := Checked[i]; i+=1;
|
||||||
ShowHintsForSenderNotUsed := Checked[i]; i+=1;
|
ShowHintsForSenderNotUsed := Checked[i]; i+=1;
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 355
|
Height = 422
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 495
|
Width = 520
|
||||||
ClientHeight = 355
|
ClientHeight = 422
|
||||||
ClientWidth = 495
|
ClientWidth = 520
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
DesignLeft = 386
|
DesignLeft = 386
|
||||||
DesignTop = 221
|
DesignTop = 221
|
||||||
@ -16,7 +16,7 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Left = 70
|
Left = 70
|
||||||
Height = 15
|
Height = 15
|
||||||
Top = 206
|
Top = 206
|
||||||
Width = 92
|
Width = 93
|
||||||
BorderSpacing.Left = 10
|
BorderSpacing.Left = 10
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
BorderSpacing.Right = 10
|
BorderSpacing.Right = 10
|
||||||
@ -40,10 +40,10 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideTop.Side = asrCenter
|
AnchorSideTop.Side = asrCenter
|
||||||
AnchorSideRight.Control = Owner
|
AnchorSideRight.Control = Owner
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 172
|
Left = 173
|
||||||
Height = 3
|
Height = 3
|
||||||
Top = 212
|
Top = 212
|
||||||
Width = 323
|
Width = 347
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
end
|
end
|
||||||
object MWShowIconsCheckBox: TCheckBox
|
object MWShowIconsCheckBox: TCheckBox
|
||||||
@ -51,9 +51,9 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideTop.Control = MWOptionsLabel
|
AnchorSideTop.Control = MWOptionsLabel
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 19
|
Height = 24
|
||||||
Top = 227
|
Top = 227
|
||||||
Width = 151
|
Width = 158
|
||||||
BorderSpacing.Left = 6
|
BorderSpacing.Left = 6
|
||||||
Caption = 'MWShowIconsCheckBox'
|
Caption = 'MWShowIconsCheckBox'
|
||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
@ -65,9 +65,9 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideTop.Control = MWAlwaysDrawFocusedCheckBox
|
AnchorSideTop.Control = MWAlwaysDrawFocusedCheckBox
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 19
|
Height = 24
|
||||||
Top = 265
|
Top = 275
|
||||||
Width = 125
|
Width = 132
|
||||||
BorderSpacing.Left = 6
|
BorderSpacing.Left = 6
|
||||||
Caption = 'MWFocusCheckBox'
|
Caption = 'MWFocusCheckBox'
|
||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
@ -79,9 +79,9 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideTop.Control = MWShowIconsCheckBox
|
AnchorSideTop.Control = MWShowIconsCheckBox
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 19
|
Height = 24
|
||||||
Top = 246
|
Top = 251
|
||||||
Width = 202
|
Width = 212
|
||||||
Caption = 'MWAlwaysDrawFocusedCheckBox'
|
Caption = 'MWAlwaysDrawFocusedCheckBox'
|
||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
@ -92,9 +92,9 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideLeft.Side = asrBottom
|
AnchorSideLeft.Side = asrBottom
|
||||||
AnchorSideTop.Control = MWFocusCheckBox
|
AnchorSideTop.Control = MWFocusCheckBox
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 109
|
Left = 110
|
||||||
Height = 23
|
Height = 25
|
||||||
Top = 284
|
Top = 299
|
||||||
Width = 50
|
Width = 50
|
||||||
BorderSpacing.Left = 2
|
BorderSpacing.Left = 2
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
@ -105,8 +105,8 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideTop.Side = asrCenter
|
AnchorSideTop.Side = asrCenter
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 15
|
Height = 15
|
||||||
Top = 288
|
Top = 304
|
||||||
Width = 101
|
Width = 102
|
||||||
BorderSpacing.Left = 6
|
BorderSpacing.Left = 6
|
||||||
Caption = 'MWMaxProcsLabel'
|
Caption = 'MWMaxProcsLabel'
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
@ -115,7 +115,7 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Left = 0
|
Left = 0
|
||||||
Height = 26
|
Height = 26
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 495
|
Width = 520
|
||||||
Caption = 'ToolBar1'
|
Caption = 'ToolBar1'
|
||||||
ShowCaptions = True
|
ShowCaptions = True
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
@ -130,7 +130,7 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Style = tbsCheck
|
Style = tbsCheck
|
||||||
end
|
end
|
||||||
object BtnMsgColor: TToolButton
|
object BtnMsgColor: TToolButton
|
||||||
Left = 94
|
Left = 98
|
||||||
Top = 2
|
Top = 2
|
||||||
AllowAllUp = True
|
AllowAllUp = True
|
||||||
Caption = 'BtnMsgColor'
|
Caption = 'BtnMsgColor'
|
||||||
@ -148,7 +148,7 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Left = 0
|
Left = 0
|
||||||
Height = 174
|
Height = 174
|
||||||
Top = 26
|
Top = 26
|
||||||
Width = 495
|
Width = 520
|
||||||
PageIndex = 0
|
PageIndex = 0
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
@ -158,12 +158,12 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Left = 0
|
Left = 0
|
||||||
Height = 174
|
Height = 174
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 495
|
Width = 520
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
Caption = 'MWColorsGroupBox'
|
Caption = 'MWColorsGroupBox'
|
||||||
ClientHeight = 154
|
ClientHeight = 157
|
||||||
ClientWidth = 491
|
ClientWidth = 516
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
object MWColorListBox: TColorListBox
|
object MWColorListBox: TColorListBox
|
||||||
AnchorSideLeft.Control = MWColorsGroupBox
|
AnchorSideLeft.Control = MWColorsGroupBox
|
||||||
@ -173,7 +173,7 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Left = 6
|
Left = 6
|
||||||
Height = 110
|
Height = 110
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 303
|
Width = 328
|
||||||
Style = [cbCustomColors]
|
Style = [cbCustomColors]
|
||||||
OnGetColors = MWColorListBoxGetColors
|
OnGetColors = MWColorListBoxGetColors
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
@ -181,6 +181,7 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
ItemHeight = 0
|
ItemHeight = 0
|
||||||
OnSelectionChange = MWColorListBoxSelectionChange
|
OnSelectionChange = MWColorListBoxSelectionChange
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
|
TopIndex = -1
|
||||||
end
|
end
|
||||||
object MWColorBox: TColorBox
|
object MWColorBox: TColorBox
|
||||||
AnchorSideLeft.Control = MWColorsGroupBox
|
AnchorSideLeft.Control = MWColorsGroupBox
|
||||||
@ -190,9 +191,9 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideBottom.Control = MWColorsGroupBox
|
AnchorSideBottom.Control = MWColorsGroupBox
|
||||||
AnchorSideBottom.Side = asrBottom
|
AnchorSideBottom.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 26
|
Height = 29
|
||||||
Top = 122
|
Top = 122
|
||||||
Width = 303
|
Width = 328
|
||||||
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeNone, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
|
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeNone, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
@ -201,8 +202,8 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
end
|
end
|
||||||
object MWSpeedSetColorsGroupBox: TGroupBox
|
object MWSpeedSetColorsGroupBox: TGroupBox
|
||||||
Left = 315
|
Left = 340
|
||||||
Height = 142
|
Height = 145
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 170
|
Width = 170
|
||||||
Align = alRight
|
Align = alRight
|
||||||
@ -210,14 +211,14 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Caption = 'MWSpeedSetColorsGroupBox'
|
Caption = 'MWSpeedSetColorsGroupBox'
|
||||||
ChildSizing.Layout = cclLeftToRightThenTopToBottom
|
ChildSizing.Layout = cclLeftToRightThenTopToBottom
|
||||||
ChildSizing.ControlsPerLine = 1
|
ChildSizing.ControlsPerLine = 1
|
||||||
ClientHeight = 122
|
ClientHeight = 128
|
||||||
ClientWidth = 166
|
ClientWidth = 166
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
object MWSetEditorColorsButton: TButton
|
object MWSetEditorColorsButton: TButton
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 27
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 172
|
Width = 166
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
Caption = 'MWSetEditorColorsButton'
|
Caption = 'MWSetEditorColorsButton'
|
||||||
OnClick = MWSetEditorColorsButtonClick
|
OnClick = MWSetEditorColorsButtonClick
|
||||||
@ -227,9 +228,9 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 27
|
||||||
Top = 31
|
Top = 33
|
||||||
Width = 172
|
Width = 166
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
BorderSpacing.Right = 6
|
BorderSpacing.Right = 6
|
||||||
@ -239,9 +240,9 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
end
|
end
|
||||||
object MWSetPastelColorsButton: TButton
|
object MWSetPastelColorsButton: TButton
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 25
|
Height = 27
|
||||||
Top = 62
|
Top = 66
|
||||||
Width = 172
|
Width = 166
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
Caption = 'MWSetPastelColorsButton'
|
Caption = 'MWSetPastelColorsButton'
|
||||||
@ -259,7 +260,7 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
Width = 495
|
Width = 495
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Caption = 'MsgColorGroupBox'
|
Caption = 'MsgColorGroupBox'
|
||||||
ClientHeight = 154
|
ClientHeight = 157
|
||||||
ClientWidth = 491
|
ClientWidth = 491
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
object MsgColorListBox: TColorListBox
|
object MsgColorListBox: TColorListBox
|
||||||
@ -296,4 +297,19 @@ object MsgWndOptionsFrame: TMsgWndOptionsFrame
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
object MWShowFPCMsgLinesCompiledCheckBox: TCheckBox
|
||||||
|
AnchorSideLeft.Control = Owner
|
||||||
|
AnchorSideTop.Control = MWMaxProcsSpinEdit
|
||||||
|
AnchorSideTop.Side = asrBottom
|
||||||
|
Left = 6
|
||||||
|
Height = 24
|
||||||
|
Top = 334
|
||||||
|
Width = 251
|
||||||
|
BorderSpacing.Left = 6
|
||||||
|
BorderSpacing.Top = 10
|
||||||
|
Caption = 'MWShowFPCMsgLinesCompiledCheckBox'
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
|
TabOrder = 6
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
@ -46,6 +46,7 @@ type
|
|||||||
MWAlwaysDrawFocusedCheckBox: TCheckBox;
|
MWAlwaysDrawFocusedCheckBox: TCheckBox;
|
||||||
MWFocusCheckBox: TCheckBox;
|
MWFocusCheckBox: TCheckBox;
|
||||||
MWSetPastelColorsButton: TButton;
|
MWSetPastelColorsButton: TButton;
|
||||||
|
MWShowFPCMsgLinesCompiledCheckBox: TCheckBox;
|
||||||
MWShowIconsCheckBox: TCheckBox;
|
MWShowIconsCheckBox: TCheckBox;
|
||||||
MWMaxProcsLabel: TLabel;
|
MWMaxProcsLabel: TLabel;
|
||||||
MWMaxProcsSpinEdit: TSpinEdit;
|
MWMaxProcsSpinEdit: TSpinEdit;
|
||||||
@ -250,6 +251,8 @@ begin
|
|||||||
MWFocusCheckBox.Caption:=dlgEOFocusMessagesAfterCompilation;
|
MWFocusCheckBox.Caption:=dlgEOFocusMessagesAfterCompilation;
|
||||||
MWMaxProcsLabel.Caption:=Format(lisMaximumParallelProcesses0MeansDefault, [
|
MWMaxProcsLabel.Caption:=Format(lisMaximumParallelProcesses0MeansDefault, [
|
||||||
IntToStr(DefaultMaxProcessCount)]);
|
IntToStr(DefaultMaxProcessCount)]);
|
||||||
|
MWShowFPCMsgLinesCompiledCheckBox.Caption:='Show FPC message "lines compiled"';
|
||||||
|
MWShowFPCMsgLinesCompiledCheckBox.Hint:='Elevate the message priority to always show it (by default it has low priority "verbose")';
|
||||||
Notebook1.PageIndex := 0;
|
Notebook1.PageIndex := 0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -280,6 +283,7 @@ begin
|
|||||||
MWAlwaysDrawFocusedCheckBox.Checked := o.MsgViewAlwaysDrawFocused;
|
MWAlwaysDrawFocusedCheckBox.Checked := o.MsgViewAlwaysDrawFocused;
|
||||||
MWFocusCheckBox.Checked := o.MsgViewFocus;
|
MWFocusCheckBox.Checked := o.MsgViewFocus;
|
||||||
MWMaxProcsSpinEdit.Value := o.MaxExtToolsInParallel;
|
MWMaxProcsSpinEdit.Value := o.MaxExtToolsInParallel;
|
||||||
|
MWShowFPCMsgLinesCompiledCheckBox.Checked := o.MsgViewShowFPCMsgLinesCompiled;
|
||||||
fReady:=true;
|
fReady:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -298,6 +302,7 @@ begin
|
|||||||
o.MsgViewAlwaysDrawFocused := MWAlwaysDrawFocusedCheckBox.Checked;
|
o.MsgViewAlwaysDrawFocused := MWAlwaysDrawFocusedCheckBox.Checked;
|
||||||
o.MsgViewFocus := MWFocusCheckBox.Checked;
|
o.MsgViewFocus := MWFocusCheckBox.Checked;
|
||||||
o.MaxExtToolsInParallel := MWMaxProcsSpinEdit.Value;
|
o.MaxExtToolsInParallel := MWMaxProcsSpinEdit.Value;
|
||||||
|
o.MsgViewShowFPCMsgLinesCompiled := MWShowFPCMsgLinesCompiledCheckBox.Checked;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class function TMsgWndOptionsFrame.
|
class function TMsgWndOptionsFrame.
|
||||||
|
Loading…
Reference in New Issue
Block a user