ide: rename editor codetools options to Automatic feature, remove internal groupbox

git-svn-id: trunk@17845 -
This commit is contained in:
paul 2008-12-16 02:26:39 +00:00
parent 9ca4e6bd39
commit 41933b3605
4 changed files with 158 additions and 192 deletions

View File

@ -4,144 +4,123 @@ inherited EditorCodetoolsOptionsFrame: TEditorCodetoolsOptionsFrame
ClientHeight = 440
ClientWidth = 496
Visible = False
DesignLeft = 520
DesignTop = 289
object AutomaticFeaturesGroupBox: TGroupBox[0]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
DesignLeft = 609
DesignTop = 243
object AutoDelayMaxLabel: TLabel[0]
AnchorSideTop.Control = AutoDelayTrackBar
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 400
Height = 14
Top = 167
Width = 96
Alignment = taRightJustify
Anchors = [akTop, akRight]
BorderSpacing.Top = 2
Caption = 'AutoDelayMaxLabel'
ParentColor = False
end
object AutoDelayMinLabel: TLabel[1]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = AutoDelayTrackBar
AnchorSideTop.Side = asrBottom
Left = 0
Height = 440
Height = 14
Top = 167
Width = 92
BorderSpacing.Top = 2
Caption = 'AutoDelayMinLabel'
ParentColor = False
end
object AutoDelayLabel: TLabel[2]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = AutoDelayTrackBar
AnchorSideTop.Side = asrBottom
Left = 0
Height = 14
Top = 189
Width = 76
BorderSpacing.Top = 24
Caption = 'AutoDelayLabel'
ParentColor = False
end
object AutoIdentifierCompletionCheckBox: TCheckBox[3]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
Left = 0
Height = 19
Top = 0
Width = 496
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'AutomaticFeaturesGroupBox'
ClientHeight = 422
ClientWidth = 492
Ctl3D = False
Width = 193
Caption = 'AutoIdentifierCompletionCheckBox'
TabOrder = 0
object AutoDelayLabel: TLabel
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutoDelayTrackBar
AnchorSideTop.Side = asrBottom
Left = 6
Height = 14
Top = 201
Width = 76
BorderSpacing.Top = 24
BorderSpacing.Around = 6
Caption = 'AutoDelayLabel'
ParentColor = False
end
object AutoDelayMinLabel: TLabel
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutoDelayTrackBar
AnchorSideTop.Side = asrBottom
Left = 6
Height = 14
Top = 177
Width = 92
BorderSpacing.Left = 6
BorderSpacing.Top = 2
Caption = 'AutoDelayMinLabel'
ParentColor = False
end
object AutoDelayMaxLabel: TLabel
AnchorSideTop.Control = AutoDelayTrackBar
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = AutomaticFeaturesGroupBox
AnchorSideRight.Side = asrBottom
Left = 390
Height = 14
Top = 177
Width = 96
Alignment = taRightJustify
Anchors = [akTop, akRight]
BorderSpacing.Top = 2
BorderSpacing.Right = 6
Caption = 'AutoDelayMaxLabel'
ParentColor = False
end
object AutoIdentifierCompletionCheckBox: TCheckBox
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutomaticFeaturesGroupBox
Left = 6
Height = 19
Top = 6
Width = 193
BorderSpacing.Around = 6
Caption = 'AutoIdentifierCompletionCheckBox'
TabOrder = 0
end
object AutoCodeParametersCheckBox: TCheckBox
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutoToolTipSymbToolsCheckBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 19
Top = 81
Width = 176
BorderSpacing.Around = 6
Caption = 'AutoCodeParametersCheckBox'
Enabled = False
TabOrder = 1
end
object AutoToolTipExprEvalCheckBox: TCheckBox
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutoCodeParametersCheckBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 19
Top = 106
Width = 172
BorderSpacing.Around = 6
Caption = 'AutoToolTipExprEvalCheckBox'
TabOrder = 2
end
object AutoToolTipSymbToolsCheckBox: TCheckBox
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutoRemoveEmptyMethodsOnSave
AnchorSideTop.Side = asrBottom
Left = 6
Height = 19
Top = 56
Width = 181
BorderSpacing.Around = 6
Caption = 'AutoToolTipSymbToolsCheckBox'
TabOrder = 3
end
object AutoDelayTrackBar: TTrackBar
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutoToolTipExprEvalCheckBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = AutomaticFeaturesGroupBox
AnchorSideRight.Side = asrBottom
Left = 6
Height = 40
Top = 131
Width = 480
Frequency = 250
Max = 4000
Min = 500
Position = 500
BorderSpacing.Around = 6
Ctl3D = False
TabOrder = 4
end
object AutoRemoveEmptyMethodsOnSave: TCheckBox
AnchorSideLeft.Control = AutomaticFeaturesGroupBox
AnchorSideTop.Control = AutoIdentifierCompletionCheckBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 19
Top = 31
Width = 197
BorderSpacing.Around = 6
Caption = 'AutoRemoveEmptyMethodsOnSave'
TabOrder = 5
end
end
object AutoRemoveEmptyMethodsOnSave: TCheckBox[4]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = AutoIdentifierCompletionCheckBox
AnchorSideTop.Side = asrBottom
Left = 0
Height = 19
Top = 25
Width = 197
BorderSpacing.Top = 6
Caption = 'AutoRemoveEmptyMethodsOnSave'
TabOrder = 1
end
object AutoToolTipSymbToolsCheckBox: TCheckBox[5]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = AutoRemoveEmptyMethodsOnSave
AnchorSideTop.Side = asrBottom
Left = 0
Height = 19
Top = 50
Width = 181
BorderSpacing.Top = 6
Caption = 'AutoToolTipSymbToolsCheckBox'
TabOrder = 2
end
object AutoCodeParametersCheckBox: TCheckBox[6]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = AutoToolTipSymbToolsCheckBox
AnchorSideTop.Side = asrBottom
Left = 0
Height = 19
Top = 75
Width = 176
BorderSpacing.Top = 6
Caption = 'AutoCodeParametersCheckBox'
Enabled = False
TabOrder = 3
end
object AutoToolTipExprEvalCheckBox: TCheckBox[7]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = AutoCodeParametersCheckBox
AnchorSideTop.Side = asrBottom
Left = 0
Height = 19
Top = 100
Width = 172
BorderSpacing.Top = 6
Caption = 'AutoToolTipExprEvalCheckBox'
TabOrder = 4
end
object AutoDelayTrackBar: TTrackBar[8]
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = AutoToolTipExprEvalCheckBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 0
Height = 40
Top = 125
Width = 496
Frequency = 250
Max = 4000
Min = 500
Position = 500
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 6
Ctl3D = False
TabOrder = 5
end
end

View File

@ -3,57 +3,47 @@
LazarusResources.Add('TEditorCodetoolsOptionsFrame','FORMDATA',[
'TPF0'#241#28'TEditorCodetoolsOptionsFrame'#27'EditorCodetoolsOptionsFrame'#6
+'Height'#3#184#1#5'Width'#3#240#1#12'ClientHeight'#3#184#1#11'ClientWidth'#3
+#240#1#7'Visible'#8#10'DesignLeft'#3#8#2#9'DesignTop'#3'!'#1#0#242#2#0#9'TGr'
+'oupBox'#25'AutomaticFeaturesGroupBox'#22'AnchorSideLeft.Control'#7#5'Owner'
+#21'AnchorSideTop.Control'#7#5'Owner'#23'AnchorSideRight.Control'#7#5'Owner'
+#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#5'Ow'
+'ner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#2#0#6'Height'#3#184#1
+#3'Top'#2#0#5'Width'#3#240#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'a'
+'kBottom'#0#7'Caption'#6#25'AutomaticFeaturesGroupBox'#12'ClientHeight'#3#166
+#1#11'ClientWidth'#3#236#1#5'Ctl3D'#8#8'TabOrder'#2#0#0#6'TLabel'#14'AutoDel'
+'ayLabel'#22'AnchorSideLeft.Control'#7#25'AutomaticFeaturesGroupBox'#21'Anch'
+'orSideTop.Control'#7#17'AutoDelayTrackBar'#18'AnchorSideTop.Side'#7#9'asrBo'
+'ttom'#4'Left'#2#6#6'Height'#2#14#3'Top'#3#201#0#5'Width'#2'L'#17'BorderSpac'
+'ing.Top'#2#24#20'BorderSpacing.Around'#2#6#7'Caption'#6#14'AutoDelayLabel'
+#11'ParentColor'#8#0#0#6'TLabel'#17'AutoDelayMinLabel'#22'AnchorSideLeft.Con'
+'trol'#7#25'AutomaticFeaturesGroupBox'#21'AnchorSideTop.Control'#7#17'AutoDe'
+'layTrackBar'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2
+#14#3'Top'#3#177#0#5'Width'#2'\'#18'BorderSpacing.Left'#2#6#17'BorderSpacing'
+'.Top'#2#2#7'Caption'#6#17'AutoDelayMinLabel'#11'ParentColor'#8#0#0#6'TLabel'
+#17'AutoDelayMaxLabel'#21'AnchorSideTop.Control'#7#17'AutoDelayTrackBar'#18
+'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#25'Automat'
+'icFeaturesGroupBox'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#134#1
+#6'Height'#2#14#3'Top'#3#177#0#5'Width'#2'`'#9'Alignment'#7#14'taRightJustif'
+'y'#7'Anchors'#11#5'akTop'#7'akRight'#0#17'BorderSpacing.Top'#2#2#19'BorderS'
+'pacing.Right'#2#6#7'Caption'#6#17'AutoDelayMaxLabel'#11'ParentColor'#8#0#0#9
+'TCheckBox AutoIdentifierCompletionCheckBox'#22'AnchorSideLeft.Control'#7#25
+'AutomaticFeaturesGroupBox'#21'AnchorSideTop.Control'#7#25'AutomaticFeatures'
+'GroupBox'#4'Left'#2#6#6'Height'#2#19#3'Top'#2#6#5'Width'#3#193#0#20'BorderS'
+'pacing.Around'#2#6#7'Caption'#6' AutoIdentifierCompletionCheckBox'#8'TabOrd'
+'er'#2#0#0#0#9'TCheckBox'#26'AutoCodeParametersCheckBox'#22'AnchorSideLeft.C'
+'ontrol'#7#25'AutomaticFeaturesGroupBox'#21'AnchorSideTop.Control'#7#28'Auto'
+'ToolTipSymbToolsCheckBox'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6
+#6'Height'#2#19#3'Top'#2'Q'#5'Width'#3#176#0#20'BorderSpacing.Around'#2#6#7
+'Caption'#6#26'AutoCodeParametersCheckBox'#7'Enabled'#8#8'TabOrder'#2#1#0#0#9
+'TCheckBox'#27'AutoToolTipExprEvalCheckBox'#22'AnchorSideLeft.Control'#7#25
+'AutomaticFeaturesGroupBox'#21'AnchorSideTop.Control'#7#26'AutoCodeParameter'
+'sCheckBox'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#19
+#3'Top'#2'j'#5'Width'#3#172#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#27'A'
+'utoToolTipExprEvalCheckBox'#8'TabOrder'#2#2#0#0#9'TCheckBox'#28'AutoToolTip'
+'SymbToolsCheckBox'#22'AnchorSideLeft.Control'#7#25'AutomaticFeaturesGroupBo'
+'x'#21'AnchorSideTop.Control'#7#28'AutoRemoveEmptyMethodsOnSave'#18'AnchorSi'
+'deTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#19#3'Top'#2'8'#5'Width'#3
+#181#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'AutoToolTipSymbToolsChec'
+'kBox'#8'TabOrder'#2#3#0#0#9'TTrackBar'#17'AutoDelayTrackBar'#22'AnchorSideL'
+'eft.Control'#7#25'AutomaticFeaturesGroupBox'#21'AnchorSideTop.Control'#7#27
+'AutoToolTipExprEvalCheckBox'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'Ancho'
+'rSideRight.Control'#7#25'AutomaticFeaturesGroupBox'#20'AnchorSideRight.Side'
+#7#9'asrBottom'#4'Left'#2#6#6'Height'#2'('#3'Top'#3#131#0#5'Width'#3#224#1#9
+'Frequency'#3#250#0#3'Max'#3#160#15#3'Min'#3#244#1#8'Position'#3#244#1#20'Bo'
+'rderSpacing.Around'#2#6#5'Ctl3D'#8#8'TabOrder'#2#4#0#0#9'TCheckBox'#28'Auto'
+'RemoveEmptyMethodsOnSave'#22'AnchorSideLeft.Control'#7#25'AutomaticFeatures'
+'GroupBox'#21'AnchorSideTop.Control'#7' AutoIdentifierCompletionCheckBox'#18
+'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#19#3'Top'#2#31#5
+'Width'#3#197#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'AutoRemoveEmpty'
+'MethodsOnSave'#8'TabOrder'#2#5#0#0#0#0
+#240#1#7'Visible'#8#10'DesignLeft'#3'a'#2#9'DesignTop'#3#243#0#0#242#2#0#6'T'
+'Label'#17'AutoDelayMaxLabel'#21'AnchorSideTop.Control'#7#17'AutoDelayTrackB'
+'ar'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#5'O'
+'wner'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#144#1#6'Height'#2#14
+#3'Top'#3#167#0#5'Width'#2'`'#9'Alignment'#7#14'taRightJustify'#7'Anchors'#11
+#5'akTop'#7'akRight'#0#17'BorderSpacing.Top'#2#2#7'Caption'#6#17'AutoDelayMa'
+'xLabel'#11'ParentColor'#8#0#0#242#2#1#6'TLabel'#17'AutoDelayMinLabel'#22'An'
+'chorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'#7#17'AutoDelayTr'
+'ackBar'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#0#6'Height'#2#14#3
+'Top'#3#167#0#5'Width'#2'\'#17'BorderSpacing.Top'#2#2#7'Caption'#6#17'AutoDe'
+'layMinLabel'#11'ParentColor'#8#0#0#242#2#2#6'TLabel'#14'AutoDelayLabel'#22
+'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'#7#17'AutoDelay'
+'TrackBar'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#0#6'Height'#2#14#3
+'Top'#3#189#0#5'Width'#2'L'#17'BorderSpacing.Top'#2#24#7'Caption'#6#14'AutoD'
+'elayLabel'#11'ParentColor'#8#0#0#242#2#3#9'TCheckBox AutoIdentifierCompleti'
+'onCheckBox'#22'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'
+#7#5'Owner'#4'Left'#2#0#6'Height'#2#19#3'Top'#2#0#5'Width'#3#193#0#7'Caption'
+#6' AutoIdentifierCompletionCheckBox'#8'TabOrder'#2#0#0#0#242#2#4#9'TCheckBo'
+'x'#28'AutoRemoveEmptyMethodsOnSave'#22'AnchorSideLeft.Control'#7#5'Owner'#21
+'AnchorSideTop.Control'#7' AutoIdentifierCompletionCheckBox'#18'AnchorSideTo'
+'p.Side'#7#9'asrBottom'#4'Left'#2#0#6'Height'#2#19#3'Top'#2#25#5'Width'#3#197
+#0#17'BorderSpacing.Top'#2#6#7'Caption'#6#28'AutoRemoveEmptyMethodsOnSave'#8
+'TabOrder'#2#1#0#0#242#2#5#9'TCheckBox'#28'AutoToolTipSymbToolsCheckBox'#22
+'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'#7#28'AutoRemov'
+'eEmptyMethodsOnSave'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#0#6'He'
+'ight'#2#19#3'Top'#2'2'#5'Width'#3#181#0#17'BorderSpacing.Top'#2#6#7'Caption'
+#6#28'AutoToolTipSymbToolsCheckBox'#8'TabOrder'#2#2#0#0#242#2#6#9'TCheckBox'
+#26'AutoCodeParametersCheckBox'#22'AnchorSideLeft.Control'#7#5'Owner'#21'Anc'
+'horSideTop.Control'#7#28'AutoToolTipSymbToolsCheckBox'#18'AnchorSideTop.Sid'
+'e'#7#9'asrBottom'#4'Left'#2#0#6'Height'#2#19#3'Top'#2'K'#5'Width'#3#176#0#17
+'BorderSpacing.Top'#2#6#7'Caption'#6#26'AutoCodeParametersCheckBox'#7'Enable'
+'d'#8#8'TabOrder'#2#3#0#0#242#2#7#9'TCheckBox'#27'AutoToolTipExprEvalCheckBo'
+'x'#22'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'#7#26'Aut'
+'oCodeParametersCheckBox'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#0#6
+'Height'#2#19#3'Top'#2'd'#5'Width'#3#172#0#17'BorderSpacing.Top'#2#6#7'Capti'
+'on'#6#27'AutoToolTipExprEvalCheckBox'#8'TabOrder'#2#4#0#0#242#2#8#9'TTrackB'
+'ar'#17'AutoDelayTrackBar'#22'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSi'
+'deTop.Control'#7#27'AutoToolTipExprEvalCheckBox'#18'AnchorSideTop.Side'#7#9
+'asrBottom'#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7
+#9'asrBottom'#4'Left'#2#0#6'Height'#2'('#3'Top'#2'}'#5'Width'#3#240#1#9'Freq'
+'uency'#3#250#0#3'Max'#3#160#15#3'Min'#3#244#1#8'Position'#3#244#1#7'Anchors'
+#11#5'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacing.Top'#2#6#5'Ctl3D'#8#8'T'
+'abOrder'#2#5#0#0#0
]);

View File

@ -38,7 +38,6 @@ type
AutoDelayMinLabel: TLabel;
AutoDelayTrackBar: TTrackBar;
AutoIdentifierCompletionCheckBox: TCheckBox;
AutomaticFeaturesGroupBox: TGroupBox;
AutoToolTipExprEvalCheckBox: TCheckBox;
AutoToolTipSymbToolsCheckBox: TCheckBox;
AutoRemoveEmptyMethodsOnSave: TCheckBox;
@ -58,13 +57,11 @@ implementation
function TEditorCodetoolsOptionsFrame.GetTitle: String;
begin
Result := dlgCodeToolsTab;
Result := lisAutomaticFeatures;
end;
procedure TEditorCodetoolsOptionsFrame.Setup(ADialog: TAbstractOptionsEditorDialog);
begin
AutomaticFeaturesGroupBox.Caption := lisAutomaticFeatures;
AutoIdentifierCompletionCheckBox.Caption := dlgEdIdComlet;
AutoCodeParametersCheckBox.Caption := dlgEdCodeParams;
AutoToolTipExprEvalCheckBox.Caption := dlgTooltipEval;

View File

@ -1195,7 +1195,7 @@ resourcestring
dlgEdEdit = 'Edit...';
dlgEdDelete = 'Delete';
dlgIndentCodeTo = 'Indent code to';
dlgCodeToolsTab = 'Code Tools';
//dlgCodeToolsTab = 'Code Tools';
lisAutomaticFeatures = 'Automatic features';
dlgCFDividerDrawLevel = 'Divider Draw Level';