IDE EditorOptions: added option to disable code editor anti-aliasing

SynEdit: fix TFont.Quality handling

git-svn-id: trunk@16921 -
This commit is contained in:
tombo 2008-10-07 16:54:08 +00:00
parent abd306e88c
commit d4de936c86
6 changed files with 269 additions and 223 deletions

View File

@ -104,6 +104,7 @@ const
SynDefaultFontHeight = 12;
{$ENDIF}
SynDefaultFontPitch = fpFixed;
SynDefaultFontQuality = fqNonAntialiased;
{$ENDIF}
@ -1509,6 +1510,7 @@ begin
fFontDummy.Name := SynDefaultFontName;
fFontDummy.Height := SynDefaultFontHeight;
fFontDummy.Pitch := SynDefaultFontPitch;
fFontDummy.Quality := SynDefaultFontQuality;
fLastMouseCaret := Point(-1,-1);
fLastCtrlMouseLinkY := -1;
fLastControlIsPressed := false;
@ -4859,6 +4861,7 @@ begin
Size := Value.Size;
Style := Value.Style;
{$IFDEF SYN_LAZARUS}
Quality := Value.Quality;
EndUpdate;
{$ENDIF}
end;

View File

@ -585,7 +585,11 @@ begin
else lfWeight:=FW_NORMAL;
lfCharSet := Byte(ABaseFont.Charset);
SetLogFontName(aBaseFont.Name);
{$IFDEF SYN_LAZARUS}
lfQuality := Byte(aBaseFont.Quality);
{$ELSE}
lfQuality := DEFAULT_QUALITY;
{$ENDIF}
lfOutPrecision := OUT_DEFAULT_PRECIS;
lfClipPrecision := CLIP_DEFAULT_PRECIS;
case ABaseFont.Pitch of

View File

@ -19,7 +19,7 @@ object EditorOptionsForm: TEditorOptionsForm
Align = alTop
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Bottom = 6
PageIndex = 2
PageIndex = 1
TabOrder = 0
object GeneralPage: TPage
Caption = 'GeneralPage'
@ -156,24 +156,24 @@ object EditorOptionsForm: TEditorOptionsForm
end
object DisplayPage: TPage
Caption = 'DisplayPage'
ClientWidth = 552
ClientHeight = 503
ClientWidth = 546
ClientHeight = 510
object MarginAndGutterGroupBox: TGroupBox
Left = 6
Height = 128
Top = 6
Width = 540
Width = 534
Align = alTop
BorderSpacing.Around = 6
Caption = 'MarginAndGutterGroupBox'
ClientHeight = 128
ClientWidth = 540
ClientHeight = 110
ClientWidth = 530
TabOrder = 1
object RightMarginLabel: TLabel
Left = 358
Height = 20
Height = 14
Top = 8
Width = 110
Width = 83
Caption = 'RightMarginLabel'
ParentColor = False
end
@ -199,17 +199,17 @@ object EditorOptionsForm: TEditorOptionsForm
end
object RightMarginColorLabel: TLabel
Left = 358
Height = 20
Height = 14
Top = 32
Width = 143
Width = 108
Caption = 'RightMarginColorLabel'
ParentColor = False
end
object GutterColorLabel: TLabel
Left = 358
Height = 20
Height = 14
Top = 61
Width = 109
Width = 82
Caption = 'GutterColorLabel'
ParentColor = False
end
@ -217,36 +217,36 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideTop.Control = ShowLineNumbersCheckBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 20
Top = 84
Width = 146
Height = 14
Top = 81
Width = 110
BorderSpacing.Top = 6
Caption = 'Every n-th line number'
ParentColor = False
end
object VisibleRightMarginCheckBox: TCheckBox
Left = 6
Height = 22
Height = 19
Top = 8
Width = 203
Width = 159
Caption = 'VisibleRightMarginCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 0
end
object VisibleGutterCheckBox: TCheckBox
Left = 6
Height = 22
Height = 19
Top = 32
Width = 169
Width = 133
Caption = 'VisibleGutterCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 1
end
object ShowLineNumbersCheckBox: TCheckBox
Left = 6
Height = 22
Height = 19
Top = 56
Width = 206
Width = 160
Caption = 'ShowLineNumbersCheckBox'
OnChange = GeneralCheckBoxOnChange
OnClick = ShowLineNumbersCheckBoxClick
@ -254,9 +254,10 @@ object EditorOptionsForm: TEditorOptionsForm
end
object RightMarginComboBox: TComboBox
Left = 246
Height = 29
Height = 21
Top = 4
Width = 100
ItemHeight = 13
Items.Strings = (
'80'
'78'
@ -273,9 +274,9 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ShowOnlyLineNumbersMultiplesOfLabel
AnchorSideTop.Side = asrCenter
Left = 158
Left = 122
Height = 23
Top = 83
Top = 77
Width = 54
BorderSpacing.Left = 6
MinValue = 1
@ -286,21 +287,21 @@ object EditorOptionsForm: TEditorOptionsForm
end
object EditorFontGroupBox: TGroupBox
Left = 6
Height = 148
Height = 141
Top = 140
Width = 540
Width = 534
Align = alTop
AutoSize = True
BorderSpacing.Around = 6
Caption = 'EditorFontGroupBox'
ClientHeight = 148
ClientWidth = 540
ClientHeight = 123
ClientWidth = 530
TabOrder = 0
object EditorFontLabel: TLabel
Left = 6
Height = 20
Height = 14
Top = 6
Width = 524
Width = 518
Align = alTop
BorderSpacing.Left = 6
BorderSpacing.Top = 6
@ -312,9 +313,9 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideTop.Control = EditorFontHeightComboBox
AnchorSideTop.Side = asrCenter
Left = 116
Height = 20
Top = 45
Width = 389
Height = 14
Top = 36
Width = 379
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 6
Caption = 'EditorFontHeightLabel'
@ -324,9 +325,9 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideTop.Control = ExtraLineSpacingComboBox
AnchorSideTop.Side = asrCenter
Left = 116
Height = 20
Top = 74
Width = 389
Height = 14
Top = 57
Width = 379
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 6
Caption = 'ExtraLineSpacingLabel'
@ -336,9 +337,9 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideTop.Control = ExtraCharSpacingComboBox
AnchorSideTop.Side = asrCenter
Left = 116
Height = 20
Top = 103
Width = 389
Height = 14
Top = 78
Width = 379
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 6
Caption = 'ExtraCharSpacingLabel'
@ -347,18 +348,19 @@ object EditorOptionsForm: TEditorOptionsForm
object EditorFontComboBox: TComboBox
AnchorSideRight.Control = EditorFontButton
Left = 6
Height = 29
Height = 21
Top = 6
Width = 471
Width = 461
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 6
ItemHeight = 13
MaxLength = -1
OnEditingDone = EditorFontComboBoxEditingDone
TabOrder = 0
Text = 'EditorFontComboBox'
end
object EditorFontButton: TButton
Left = 483
Left = 473
Height = 25
Top = 6
Width = 25
@ -371,9 +373,10 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideTop.Control = EditorFontComboBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 29
Top = 41
Height = 21
Top = 33
Width = 100
ItemHeight = 13
Items.Strings = (
'10'
'11'
@ -395,9 +398,10 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideTop.Control = EditorFontHeightComboBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 29
Top = 70
Height = 21
Top = 54
Width = 100
ItemHeight = 13
Items.Strings = (
'0'
'1'
@ -413,9 +417,10 @@ object EditorOptionsForm: TEditorOptionsForm
AnchorSideTop.Control = ExtraLineSpacingComboBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 29
Top = 99
Height = 21
Top = 75
Width = 100
ItemHeight = 13
Items.Strings = (
'0'
'1'
@ -427,12 +432,21 @@ object EditorOptionsForm: TEditorOptionsForm
OnKeyDown = ComboBoxOnKeyDown
TabOrder = 3
end
object DisableAntialiasingCheckBox: TCheckBox
Left = 4
Height = 19
Top = 104
Width = 161
Caption = 'DisableAntialiasingCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 5
end
end
object DisplayPreview: TSynEdit
Left = 6
Height = 203
Top = 294
Width = 540
Height = 217
Top = 287
Width = 534
Align = alClient
BorderSpacing.Around = 6
Font.Height = -16

View File

@ -9,7 +9,7 @@ LazarusResources.Add('TEditorOptionsForm','FORMDATA',[
+#9'TNotebook'#12'MainNotebook'#24'AnchorSideBottom.Control'#7#8'BtnPanel'#6
+'Height'#3#24#2#5'Width'#3'*'#2#5'Align'#7#5'alTop'#7'Anchors'#11#5'akTop'#6
+'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.Bottom'#2#6#9'PageIndex'#2
+#2#8'TabOrder'#2#0#0#5'TPage'#11'GeneralPage'#7'Caption'#6#11'GeneralPage'#11
+#1#8'TabOrder'#2#0#0#5'TPage'#11'GeneralPage'#7'Caption'#6#11'GeneralPage'#11
+'ClientWidth'#3'('#2#12'ClientHeight'#3#247#1#0#6'TLabel'#16'BlockIndentLabe'
+'l'#22'AnchorSideLeft.Control'#7#19'BlockIndentComboBox'#19'AnchorSideLeft.S'
+'ide'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#19'BlockIndentComboBox'
@ -55,170 +55,174 @@ LazarusResources.Add('TEditorOptionsForm','FORMDATA',[
+#20'BorderSpacing.Around'#2#6#13'Items.Strings'#1#6#1'1'#6#1'2'#6#1'4'#6#1'8'
+#0#9'MaxLength'#2#255#8'OnChange'#7#16'ComboBoxOnChange'#6'OnExit'#7#14'Comb'
+'oBoxOnExit'#9'OnKeyDown'#7#17'ComboBoxOnKeyDown'#8'TabOrder'#2#2#0#0#0#5'TP'
+'age'#11'DisplayPage'#7'Caption'#6#11'DisplayPage'#11'ClientWidth'#3'('#2#12
+'ClientHeight'#3#247#1#0#9'TGroupBox'#23'MarginAndGutterGroupBox'#4'Left'#2#6
+#6'Height'#3#128#0#3'Top'#2#6#5'Width'#3#28#2#5'Align'#7#5'alTop'#20'BorderS'
+'age'#11'DisplayPage'#7'Caption'#6#11'DisplayPage'#11'ClientWidth'#3'"'#2#12
+'ClientHeight'#3#254#1#0#9'TGroupBox'#23'MarginAndGutterGroupBox'#4'Left'#2#6
+#6'Height'#3#128#0#3'Top'#2#6#5'Width'#3#22#2#5'Align'#7#5'alTop'#20'BorderS'
+'pacing.Around'#2#6#7'Caption'#6#23'MarginAndGutterGroupBox'#12'ClientHeight'
+#3#128#0#11'ClientWidth'#3#28#2#8'TabOrder'#2#1#0#6'TLabel'#16'RightMarginLa'
+'bel'#4'Left'#3'f'#1#6'Height'#2#20#3'Top'#2#8#5'Width'#2'n'#7'Caption'#6#16
+'RightMarginLabel'#11'ParentColor'#8#0#0#12'TColorButton'#22'RightMarginColo'
+'rButton'#4'Left'#3#246#0#6'Height'#2#21#3'Top'#2'"'#5'Width'#2'd'#11'Border'
+'Width'#2#2#15'ButtonColorSize'#2#16#5'Color'#7#9'clBtnFace'#14'OnColorChang'
+'ed'#7'"RightMarginColorButtonColorChanged'#0#0#12'TColorButton'#17'GutterCo'
,'lorButton'#4'Left'#3#246#0#6'Height'#2#21#3'Top'#2'<'#5'Width'#2'd'#11'Bord'
+'erWidth'#2#2#15'ButtonColorSize'#2#16#5'Color'#7#9'clBtnFace'#14'OnColorCha'
+'nged'#7#23'ColorButtonColorChanged'#0#0#6'TLabel'#21'RightMarginColorLabel'
+#4'Left'#3'f'#1#6'Height'#2#20#3'Top'#2' '#5'Width'#3#143#0#7'Caption'#6#21
+'RightMarginColorLabel'#11'ParentColor'#8#0#0#6'TLabel'#16'GutterColorLabel'
+#4'Left'#3'f'#1#6'Height'#2#20#3'Top'#2'='#5'Width'#2'm'#7'Caption'#6#16'Gut'
+'terColorLabel'#11'ParentColor'#8#0#0#6'TLabel#ShowOnlyLineNumbersMultiplesO'
+'fLabel'#21'AnchorSideTop.Control'#7#23'ShowLineNumbersCheckBox'#18'AnchorSi'
+'deTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#20#3'Top'#2'T'#5'Width'#3
+#146#0#17'BorderSpacing.Top'#2#6#7'Caption'#6#22'Every n-th line number'#11
+'ParentColor'#8#0#0#9'TCheckBox'#26'VisibleRightMarginCheckBox'#4'Left'#2#6#6
+'Height'#2#22#3'Top'#2#8#5'Width'#3#203#0#7'Caption'#6#26'VisibleRightMargin'
+'CheckBox'#8'OnChange'#7#23'GeneralCheckBoxOnChange'#8'TabOrder'#2#0#0#0#9'T'
+'CheckBox'#21'VisibleGutterCheckBox'#4'Left'#2#6#6'Height'#2#22#3'Top'#2' '#5
+'Width'#3#169#0#7'Caption'#6#21'VisibleGutterCheckBox'#8'OnChange'#7#23'Gene'
+'ralCheckBoxOnChange'#8'TabOrder'#2#1#0#0#9'TCheckBox'#23'ShowLineNumbersChe'
+'ckBox'#4'Left'#2#6#6'Height'#2#22#3'Top'#2'8'#5'Width'#3#206#0#7'Caption'#6
+#23'ShowLineNumbersCheckBox'#8'OnChange'#7#23'GeneralCheckBoxOnChange'#7'OnC'
+'lick'#7#28'ShowLineNumbersCheckBoxClick'#8'TabOrder'#2#2#0#0#9'TComboBox'#19
+'RightMarginComboBox'#4'Left'#3#246#0#6'Height'#2#29#3'Top'#2#4#5'Width'#2'd'
+#13'Items.Strings'#1#6#2'80'#6#2'78'#6#2'76'#0#9'MaxLength'#2#255#8'OnChange'
+#7#16'ComboBoxOnChange'#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'#7#17'Com'
+'boBoxOnKeyDown'#8'TabOrder'#2#3#0#0#9'TSpinEdit&ShowOnlyLineNumbersMultiple'
+'sOfSpinEdit'#22'AnchorSideLeft.Control'#7'#ShowOnlyLineNumbersMultiplesOfLa'
+'bel'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7'#Sh'
+'owOnlyLineNumbersMultiplesOfLabel'#18'AnchorSideTop.Side'#7#9'asrCenter'#4
+'Left'#3#158#0#6'Height'#2#23#3'Top'#2'S'#5'Width'#2'6'#18'BorderSpacing.Lef'
+'t'#2#6#8'MinValue'#2#1#8'OnChange'#7#23'GeneralCheckBoxOnChange'#8'TabOrder'
+#2#4#5'Value'#2#1#0#0#0#9'TGroupBox'#18'EditorFontGroupBox'#4'Left'#2#6#6'He'
+'ight'#3#148#0#3'Top'#3#140#0#5'Width'#3#28#2#5'Align'#7#5'alTop'#8'AutoSize'
+#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#18'EditorFontGroupBox'#12'Clien'
+'tHeight'#3#148#0#11'ClientWidth'#3#28#2#8'TabOrder'#2#0#0#6'TLabel'#15'Edit'
+'orFontLabel'#4'Left'#2#6#6'Height'#2#20#3'Top'#2#6#5'Width'#3#12#2#5'Align'
+#7#5'alTop'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.Top'#2#6#19'BorderSp'
+'acing.Right'#2#6#7'Caption'#6#15'EditorFontLabel'#11'ParentColor'#8#0#0#6'T'
+'Label'#21'EditorFontHeightLabel'#21'AnchorSideTop.Control'#7#24'EditorFontH'
+'eightComboBox'#18'AnchorSideTop.Side'#7#9'asrCenter'#4'Left'#2't'#6'Height'
+#2#20#3'Top'#2'-'#5'Width'#3#133#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRigh'
+'t'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#21'EditorFontHeightLabel'#11
+'ParentColor'#8#0#0#6'TLabel'#21'ExtraLineSpacingLabel'#21'AnchorSideTop.Con'
+'trol'#7#24'ExtraLineSpacingComboBox'#18'AnchorSideTop.Side'#7#9'asrCenter'#4
+'Left'#2't'#6'Height'#2#20#3'Top'#2'J'#5'Width'#3#133#1#7'Anchors'#11#5'akTo'
+'p'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#21'Extr'
+'aLineSpacingLabel'#11'ParentColor'#8#0#0#6'TLabel'#21'ExtraCharSpacingLabel'
+#21'AnchorSideTop.Control'#7#24'ExtraCharSpacingComboBox'#18'AnchorSideTop.S'
+'ide'#7#9'asrCenter'#4'Left'#2't'#6'Height'#2#20#3'Top'#2'g'#5'Width'#3#133#1
+#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#7
+'Caption'#6#21'ExtraCharSpacingLabel'#11'ParentColor'#8#0#0#9'TComboBox'#18
+'EditorFontComboBox'#23'AnchorSideRight.Control'#7#16'EditorFontButton'#4'Le'
+'ft'#2#6#6'Height'#2#29#3'Top'#2#6#5'Width'#3#215#1#7'Anchors'#11#5'akTop'#6
+'akLeft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#9'MaxLength'#2#255#13'OnE'
+'ditingDone'#7#29'EditorFontComboBoxEditingDone'#8'TabOrder'#2#0#4'Text'#6#18
+'EditorFontComboBox'#0#0#7'TButton'#16'EditorFontButton'#4'Left'#3#227#1#6'H'
+'eight'#2#25#3'Top'#2#6#5'Width'#2#25#7'Anchors'#11#5'akTop'#7'akRight'#0#7
+'Caption'#6#3'...'#7'OnClick'#7#21'EditorFontButtonClick'#8'TabOrder'#2#1#0#0
+#9'TComboBox'#24'EditorFontHeightComboBox'#21'AnchorSideTop.Control'#7#18'Ed'
+'itorFontComboBox'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Heigh'
+'t'#2#29#3'Top'#2')'#5'Width'#2'd'#13'Items.Strings'#1#6#2'10'#6#2'11'#6#2'1'
+'2'#6#2'13'#6#2'14'#6#2'15'#6#2'16'#6#2'17'#6#2'18'#0#9'MaxLength'#2#255#8'O'
+'nChange'#7#16'ComboBoxOnChange'#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'
+#7#17'ComboBoxOnKeyDown'#8'TabOrder'#2#2#0#0#9'TComboBox'#24'ExtraLineSpacin'
+'gComboBox'#21'AnchorSideTop.Control'#7#24'EditorFontHeightComboBox'#18'Anch'
+'orSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#29#3'Top'#2'F'#5'Wid'
+'th'#2'd'#13'Items.Strings'#1#6#1'0'#6#1'1'#6#1'2'#0#9'MaxLength'#2#255#8'On'
,'Change'#7#16'ComboBoxOnChange'#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'#7
+#17'ComboBoxOnKeyDown'#8'TabOrder'#2#4#0#0#9'TComboBox'#24'ExtraCharSpacingC'
+'omboBox'#21'AnchorSideTop.Control'#7#24'ExtraLineSpacingComboBox'#18'Anchor'
+'SideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#29#3'Top'#2'c'#5'Width'
+#2'd'#13'Items.Strings'#1#6#1'0'#6#1'1'#6#1'2'#0#9'MaxLength'#2#255#8'OnChan'
+'ge'#7#16'ComboBoxOnChange'#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'#7#17
+'ComboBoxOnKeyDown'#8'TabOrder'#2#3#0#0#0#8'TSynEdit'#14'DisplayPreview'#4'L'
+'eft'#2#6#6'Height'#3#203#0#3'Top'#3'&'#1#5'Width'#3#28#2#5'Align'#7#8'alCli'
+'ent'#20'BorderSpacing.Around'#2#6#11'Font.Height'#2#240#9'Font.Name'#6#7'co'
+'urier'#10'Font.Pitch'#7#7'fpFixed'#11'ParentColor'#8#10'ParentFont'#8#8'Tab'
+'Order'#2#2#24'BookMarkOptions.OnChange'#13#10'Keystrokes'#14#1#7'Command'#2
+#3#8'ShortCut'#2'&'#0#1#7'Command'#2'g'#8'ShortCut'#3'& '#0#1#7'Command'#3
+#211#0#8'ShortCut'#3'&@'#0#1#7'Command'#2#4#8'ShortCut'#2'('#0#1#7'Command'#2
+'h'#8'ShortCut'#3'( '#0#1#7'Command'#3#212#0#8'ShortCut'#3'(@'#0#1#7'Command'
+#2#1#8'ShortCut'#2'%'#0#1#7'Command'#2'e'#8'ShortCut'#3'% '#0#1#7'Command'#2
+#5#8'ShortCut'#3'%@'#0#1#7'Command'#2'i'#8'ShortCut'#3'%`'#0#1#7'Command'#2#2
+#8'ShortCut'#2''''#0#1#7'Command'#2'f'#8'ShortCut'#3''' '#0#1#7'Command'#2#6
+#8'ShortCut'#3'''@'#0#1#7'Command'#2'j'#8'ShortCut'#3'''`'#0#1#7'Command'#2
+#10#8'ShortCut'#2'"'#0#1#7'Command'#2'n'#8'ShortCut'#3'" '#0#1#7'Command'#2
+#14#8'ShortCut'#3'"@'#0#1#7'Command'#2'r'#8'ShortCut'#3'"`'#0#1#7'Command'#2
+#9#8'ShortCut'#2'!'#0#1#7'Command'#2'm'#8'ShortCut'#3'! '#0#1#7'Command'#2#13
+#8'ShortCut'#3'!@'#0#1#7'Command'#2'q'#8'ShortCut'#3'!`'#0#1#7'Command'#2#7#8
+'ShortCut'#2'$'#0#1#7'Command'#2'k'#8'ShortCut'#3'$ '#0#1#7'Command'#2#15#8
+'ShortCut'#3'$@'#0#1#7'Command'#2's'#8'ShortCut'#3'$`'#0#1#7'Command'#2#8#8
+'ShortCut'#2'#'#0#1#7'Command'#2'l'#8'ShortCut'#3'# '#0#1#7'Command'#2#16#8
+'ShortCut'#3'#@'#0#1#7'Command'#2't'#8'ShortCut'#3'#`'#0#1#7'Command'#3#223#0
+#8'ShortCut'#2'-'#0#1#7'Command'#3#201#0#8'ShortCut'#3'-@'#0#1#7'Command'#3
+'\'#2#8'ShortCut'#3'- '#0#1#7'Command'#3#246#1#8'ShortCut'#2'.'#0#1#7'Comman'
+'d'#3'['#2#8'ShortCut'#3'. '#0#1#7'Command'#3#245#1#8'ShortCut'#2#8#0#1#7'Co'
+'mmand'#3#245#1#8'ShortCut'#3#8' '#0#1#7'Command'#3#248#1#8'ShortCut'#3#8'@'
+#0#1#7'Command'#3'Y'#2#8'ShortCut'#4#8#128#0#0#0#1#7'Command'#3'Z'#2#8'Short'
+'Cut'#4#8#160#0#0#0#1#7'Command'#3#253#1#8'ShortCut'#2#13#0#1#7'Command'#3
+#199#0#8'ShortCut'#3'A@'#0#1#7'Command'#3#201#0#8'ShortCut'#3'C@'#0#1#7'Comm'
+'and'#3'b'#2#8'ShortCut'#3'I`'#0#1#7'Command'#3#253#1#8'ShortCut'#3'M@'#0#1#7
+'Command'#3#254#1#8'ShortCut'#3'N@'#0#1#7'Command'#3#247#1#8'ShortCut'#3'T@'
+#0#1#7'Command'#3'c'#2#8'ShortCut'#3'U`'#0#1#7'Command'#3'\'#2#8'ShortCut'#3
+'V@'#0#1#7'Command'#3'['#2#8'ShortCut'#3'X@'#0#1#7'Command'#3#251#1#8'ShortC'
+'ut'#3'Y@'#0#1#7'Command'#3#250#1#8'ShortCut'#3'Y`'#0#1#7'Command'#3'Y'#2#8
+'ShortCut'#3'Z@'#0#1#7'Command'#3'Z'#2#8'ShortCut'#3'Z`'#0#1#7'Command'#3'-'
+#1#8'ShortCut'#3'0@'#0#1#7'Command'#3'.'#1#8'ShortCut'#3'1@'#0#1#7'Command'#3
+'/'#1#8'ShortCut'#3'2@'#0#1#7'Command'#3'0'#1#8'ShortCut'#3'3@'#0#1#7'Comman'
+'d'#3'1'#1#8'ShortCut'#3'4@'#0#1#7'Command'#3'2'#1#8'ShortCut'#3'5@'#0#1#7'C'
+'ommand'#3'3'#1#8'ShortCut'#3'6@'#0#1#7'Command'#3'4'#1#8'ShortCut'#3'7@'#0#1
+#7'Command'#3'5'#1#8'ShortCut'#3'8@'#0#1#7'Command'#3'6'#1#8'ShortCut'#3'9@'
+#0#1#7'Command'#3'_'#1#8'ShortCut'#3'0`'#0#1#7'Command'#3'`'#1#8'ShortCut'#3
+'1`'#0#1#7'Command'#3'a'#1#8'ShortCut'#3'2`'#0#1#7'Command'#3'b'#1#8'ShortCu'
+'t'#3'3`'#0#1#7'Command'#3'c'#1#8'ShortCut'#3'4`'#0#1#7'Command'#3'd'#1#8'Sh'
+'ortCut'#3'5`'#0#1#7'Command'#3'e'#1#8'ShortCut'#3'6`'#0#1#7'Command'#3'f'#1
+#8'ShortCut'#3'7`'#0#1#7'Command'#3'g'#1#8'ShortCut'#3'8`'#0#1#7'Command'#3
+'h'#1#8'ShortCut'#3'9`'#0#1#7'Command'#3#231#0#8'ShortCut'#3'N`'#0#1#7'Comma'
+'nd'#3#232#0#8'ShortCut'#3'C`'#0#1#7'Command'#3#233#0#8'ShortCut'#3'L`'#0#1#7
+'Command'#3'd'#2#8'ShortCut'#2#9#0#1#7'Command'#3'e'#2#8'ShortCut'#3#9' '#0#1
+#7'Command'#3#250#0#8'ShortCut'#3'B`'#0#0#13'Lines.Strings'#1#6#14'DisplayPr'
+'eview'#0#8'ReadOnly'#9#19'OnSpecialLineMarkup'#7#19'OnSpecialLineColors'#14
+'OnStatusChange'#7#26'DisplayPreviewStatusChange'#0#0#0#5'TPage'#14'Keymappi'
+'ngPage'#7'Caption'#6#14'KeymappingPage'#11'ClientWidth'#3'"'#2#12'ClientHei'
+'ght'#3#254#1#0#6'TLabel'#19'KeyMappingHelpLabel'#21'AnchorSideTop.Control'#7
+#14'KeymappingPage'#4'Left'#2#8#6'Height'#2#14#3'Top'#2#6#5'Width'#2'i'#18'B'
+'orderSpacing.Left'#2#6#17'BorderSpacing.Top'#2#6#19'BorderSpacing.Right'#2#6
+#7'Caption'#6#19'KeyMappingHelpLabel'#11'ParentColor'#8#0#0#7'TButton'#28'Ke'
+'yMappingChooseSchemeButton'#22'AnchorSideLeft.Control'#7#14'KeymappingPage'
+#21'AnchorSideTop.Control'#7#14'KeymappingPage'#24'AnchorSideBottom.Control'
+#7#14'KeymappingPage'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#2#6#6
+'Height'#2#23#3'Top'#3#225#1#5'Width'#3#189#0#7'Anchors'#11#6'akLeft'#8'akBo'
,'ttom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'KeyMappi'
+'ngChooseSchemeButton'#7'OnClick'#7'!KeyMappingChooseSchemeButtonClick'#8'Ta'
+'bOrder'#2#0#0#0#7'TButton KeyMappingConsistencyCheckButton'#21'AnchorSideTo'
+'p.Control'#7#14'KeymappingPage'#23'AnchorSideRight.Control'#7#14'Keymapping'
+'Page'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7
+#14'KeymappingPage'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3'Q'#1#6
+'Height'#2#23#3'Top'#3#225#1#5'Width'#3#203#0#7'Anchors'#11#7'akRight'#8'akB'
+'ottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6' KeyMappin'
+'gConsistencyCheckButton'#7'OnClick'#7'%KeyMappingConsistencyCheckButtonClic'
+'k'#8'TabOrder'#2#1#0#0#9'TTreeView'#18'KeyMappingTreeView'#22'AnchorSideLef'
+'t.Control'#7#14'KeymappingPage'#21'AnchorSideTop.Control'#7#20'KeyMappingFi'
+'lterEdit'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'
+#7#14'KeymappingPage'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideB'
+'ottom.Control'#7#23'KeyMappingFindKeyButton'#4'Left'#2#6#6'Height'#3#131#1#3
+'Top'#2';'#5'Width'#3#22#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akB'
+'ottom'#0#20'BorderSpacing.Around'#2#6#17'DefaultItemHeight'#2#15#8'ReadOnly'
+#9#9'RowSelect'#9#8'TabOrder'#2#2#9'OnMouseUp'#7#25'KeyMappingTreeViewMouseU'
+'p'#7'Options'#11#17'tvoAutoItemHeight'#16'tvoHideSelection'#21'tvoKeepColla'
+'psedNodes'#11'tvoReadOnly'#12'tvoRowSelect'#14'tvoShowButtons'#12'tvoShowLi'
+'nes'#11'tvoShowRoot'#17'tvoShowSeparators'#11'tvoToolTips'#0#0#0#5'TEdit'#20
+'KeyMappingFilterEdit'#22'AnchorSideLeft.Control'#7#14'KeymappingPage'#21'An'
+'chorSideTop.Control'#7#19'KeyMappingHelpLabel'#18'AnchorSideTop.Side'#7#9'a'
+'srBottom'#23'AnchorSideRight.Control'#7#14'KeymappingPage'#20'AnchorSideRig'
+'ht.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#27#3'Top'#2#26#5'Width'#3#22
+#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#8'AutoSize'#9#20'BorderSpac'
+'ing.Around'#2#6#8'OnChange'#7#26'KeyMappingFilterEditChange'#7'OnEnter'#7#25
+#2'n'#11'ClientWidth'#3#18#2#8'TabOrder'#2#1#0#6'TLabel'#16'RightMarginLabel'
+#4'Left'#3'f'#1#6'Height'#2#14#3'Top'#2#8#5'Width'#2'S'#7'Caption'#6#16'Righ'
+'tMarginLabel'#11'ParentColor'#8#0#0#12'TColorButton'#22'RightMarginColorBut'
+'ton'#4'Left'#3#246#0#6'Height'#2#21#3'Top'#2'"'#5'Width'#2'd'#11'BorderWidt'
+'h'#2#2#15'ButtonColorSize'#2#16#5'Color'#7#9'clBtnFace'#14'OnColorChanged'#7
+'"RightMarginColorButtonColorChanged'#0#0#12'TColorButton'#17'GutterColorBut'
,'ton'#4'Left'#3#246#0#6'Height'#2#21#3'Top'#2'<'#5'Width'#2'd'#11'BorderWidt'
+'h'#2#2#15'ButtonColorSize'#2#16#5'Color'#7#9'clBtnFace'#14'OnColorChanged'#7
+#23'ColorButtonColorChanged'#0#0#6'TLabel'#21'RightMarginColorLabel'#4'Left'
+#3'f'#1#6'Height'#2#14#3'Top'#2' '#5'Width'#2'l'#7'Caption'#6#21'RightMargin'
+'ColorLabel'#11'ParentColor'#8#0#0#6'TLabel'#16'GutterColorLabel'#4'Left'#3
+'f'#1#6'Height'#2#14#3'Top'#2'='#5'Width'#2'R'#7'Caption'#6#16'GutterColorLa'
+'bel'#11'ParentColor'#8#0#0#6'TLabel#ShowOnlyLineNumbersMultiplesOfLabel'#21
+'AnchorSideTop.Control'#7#23'ShowLineNumbersCheckBox'#18'AnchorSideTop.Side'
+#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#14#3'Top'#2'Q'#5'Width'#2'n'#17'Bord'
+'erSpacing.Top'#2#6#7'Caption'#6#22'Every n-th line number'#11'ParentColor'#8
+#0#0#9'TCheckBox'#26'VisibleRightMarginCheckBox'#4'Left'#2#6#6'Height'#2#19#3
+'Top'#2#8#5'Width'#3#159#0#7'Caption'#6#26'VisibleRightMarginCheckBox'#8'OnC'
+'hange'#7#23'GeneralCheckBoxOnChange'#8'TabOrder'#2#0#0#0#9'TCheckBox'#21'Vi'
+'sibleGutterCheckBox'#4'Left'#2#6#6'Height'#2#19#3'Top'#2' '#5'Width'#3#133#0
+#7'Caption'#6#21'VisibleGutterCheckBox'#8'OnChange'#7#23'GeneralCheckBoxOnCh'
+'ange'#8'TabOrder'#2#1#0#0#9'TCheckBox'#23'ShowLineNumbersCheckBox'#4'Left'#2
+#6#6'Height'#2#19#3'Top'#2'8'#5'Width'#3#160#0#7'Caption'#6#23'ShowLineNumbe'
+'rsCheckBox'#8'OnChange'#7#23'GeneralCheckBoxOnChange'#7'OnClick'#7#28'ShowL'
+'ineNumbersCheckBoxClick'#8'TabOrder'#2#2#0#0#9'TComboBox'#19'RightMarginCom'
+'boBox'#4'Left'#3#246#0#6'Height'#2#21#3'Top'#2#4#5'Width'#2'd'#10'ItemHeigh'
+'t'#2#13#13'Items.Strings'#1#6#2'80'#6#2'78'#6#2'76'#0#9'MaxLength'#2#255#8
+'OnChange'#7#16'ComboBoxOnChange'#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'
+#7#17'ComboBoxOnKeyDown'#8'TabOrder'#2#3#0#0#9'TSpinEdit&ShowOnlyLineNumbers'
+'MultiplesOfSpinEdit'#22'AnchorSideLeft.Control'#7'#ShowOnlyLineNumbersMulti'
+'plesOfLabel'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Contro'
+'l'#7'#ShowOnlyLineNumbersMultiplesOfLabel'#18'AnchorSideTop.Side'#7#9'asrCe'
+'nter'#4'Left'#2'z'#6'Height'#2#23#3'Top'#2'M'#5'Width'#2'6'#18'BorderSpacin'
+'g.Left'#2#6#8'MinValue'#2#1#8'OnChange'#7#23'GeneralCheckBoxOnChange'#8'Tab'
+'Order'#2#4#5'Value'#2#1#0#0#0#9'TGroupBox'#18'EditorFontGroupBox'#4'Left'#2
+#6#6'Height'#3#141#0#3'Top'#3#140#0#5'Width'#3#22#2#5'Align'#7#5'alTop'#8'Au'
+'toSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#18'EditorFontGroupBox'
+#12'ClientHeight'#2'{'#11'ClientWidth'#3#18#2#8'TabOrder'#2#0#0#6'TLabel'#15
+'EditorFontLabel'#4'Left'#2#6#6'Height'#2#14#3'Top'#2#6#5'Width'#3#6#2#5'Ali'
+'gn'#7#5'alTop'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.Top'#2#6#19'Bord'
+'erSpacing.Right'#2#6#7'Caption'#6#15'EditorFontLabel'#11'ParentColor'#8#0#0
+#6'TLabel'#21'EditorFontHeightLabel'#21'AnchorSideTop.Control'#7#24'EditorFo'
+'ntHeightComboBox'#18'AnchorSideTop.Side'#7#9'asrCenter'#4'Left'#2't'#6'Heig'
+'ht'#2#14#3'Top'#2'$'#5'Width'#3'{'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akR'
+'ight'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#21'EditorFontHeightLabel'
+#11'ParentColor'#8#0#0#6'TLabel'#21'ExtraLineSpacingLabel'#21'AnchorSideTop.'
+'Control'#7#24'ExtraLineSpacingComboBox'#18'AnchorSideTop.Side'#7#9'asrCente'
+'r'#4'Left'#2't'#6'Height'#2#14#3'Top'#2'9'#5'Width'#3'{'#1#7'Anchors'#11#5
+'akTop'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#21
+'ExtraLineSpacingLabel'#11'ParentColor'#8#0#0#6'TLabel'#21'ExtraCharSpacingL'
+'abel'#21'AnchorSideTop.Control'#7#24'ExtraCharSpacingComboBox'#18'AnchorSid'
+'eTop.Side'#7#9'asrCenter'#4'Left'#2't'#6'Height'#2#14#3'Top'#2'N'#5'Width'#3
+'{'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Around'
+#2#6#7'Caption'#6#21'ExtraCharSpacingLabel'#11'ParentColor'#8#0#0#9'TComboBo'
+'x'#18'EditorFontComboBox'#23'AnchorSideRight.Control'#7#16'EditorFontButton'
+#4'Left'#2#6#6'Height'#2#21#3'Top'#2#6#5'Width'#3#205#1#7'Anchors'#11#5'akTo'
+'p'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#10'ItemHeight'#2#13#9
+'MaxLength'#2#255#13'OnEditingDone'#7#29'EditorFontComboBoxEditingDone'#8'Ta'
+'bOrder'#2#0#4'Text'#6#18'EditorFontComboBox'#0#0#7'TButton'#16'EditorFontBu'
+'tton'#4'Left'#3#217#1#6'Height'#2#25#3'Top'#2#6#5'Width'#2#25#7'Anchors'#11
+#5'akTop'#7'akRight'#0#7'Caption'#6#3'...'#7'OnClick'#7#21'EditorFontButtonC'
+'lick'#8'TabOrder'#2#1#0#0#9'TComboBox'#24'EditorFontHeightComboBox'#21'Anch'
+'orSideTop.Control'#7#18'EditorFontComboBox'#18'AnchorSideTop.Side'#7#9'asrB'
+'ottom'#4'Left'#2#6#6'Height'#2#21#3'Top'#2'!'#5'Width'#2'd'#10'ItemHeight'#2
+#13#13'Items.Strings'#1#6#2'10'#6#2'11'#6#2'12'#6#2'13'#6#2'14'#6#2'15'#6#2
+'16'#6#2'17'#6#2'18'#0#9'MaxLength'#2#255#8'OnChange'#7#16'ComboBoxOnChange'
+#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'#7#17'ComboBoxOnKeyDown'#8'TabOr'
+'der'#2#2#0#0#9'TComboBox'#24'ExtraLineSpacingComboBox'#21'AnchorSideTop.Con'
+'trol'#7#24'EditorFontHeightComboBox'#18'AnchorSideTop.Side'#7#9'asrBottom'#4
+'Left'#2#6#6'Height'#2#21#3'Top'#2'6'#5'Width'#2'd'#10'ItemHeight'#2#13#13'I'
,'tems.Strings'#1#6#1'0'#6#1'1'#6#1'2'#0#9'MaxLength'#2#255#8'OnChange'#7#16
+'ComboBoxOnChange'#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'#7#17'ComboBox'
+'OnKeyDown'#8'TabOrder'#2#4#0#0#9'TComboBox'#24'ExtraCharSpacingComboBox'#21
+'AnchorSideTop.Control'#7#24'ExtraLineSpacingComboBox'#18'AnchorSideTop.Side'
+#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#21#3'Top'#2'K'#5'Width'#2'd'#10'Item'
+'Height'#2#13#13'Items.Strings'#1#6#1'0'#6#1'1'#6#1'2'#0#9'MaxLength'#2#255#8
+'OnChange'#7#16'ComboBoxOnChange'#6'OnExit'#7#14'ComboBoxOnExit'#9'OnKeyDown'
+#7#17'ComboBoxOnKeyDown'#8'TabOrder'#2#3#0#0#9'TCheckBox'#27'DisableAntialia'
+'singCheckBox'#4'Left'#2#4#6'Height'#2#19#3'Top'#2'h'#5'Width'#3#161#0#7'Cap'
+'tion'#6#27'DisableAntialiasingCheckBox'#8'OnChange'#7#23'GeneralCheckBoxOnC'
+'hange'#8'TabOrder'#2#5#0#0#0#8'TSynEdit'#14'DisplayPreview'#4'Left'#2#6#6'H'
+'eight'#3#217#0#3'Top'#3#31#1#5'Width'#3#22#2#5'Align'#7#8'alClient'#20'Bord'
+'erSpacing.Around'#2#6#11'Font.Height'#2#240#9'Font.Name'#6#7'courier'#10'Fo'
+'nt.Pitch'#7#7'fpFixed'#11'ParentColor'#8#10'ParentFont'#8#8'TabOrder'#2#2#24
+'BookMarkOptions.OnChange'#13#10'Keystrokes'#14#1#7'Command'#2#3#8'ShortCut'
+#2'&'#0#1#7'Command'#2'g'#8'ShortCut'#3'& '#0#1#7'Command'#3#211#0#8'ShortCu'
+'t'#3'&@'#0#1#7'Command'#2#4#8'ShortCut'#2'('#0#1#7'Command'#2'h'#8'ShortCut'
+#3'( '#0#1#7'Command'#3#212#0#8'ShortCut'#3'(@'#0#1#7'Command'#2#1#8'ShortCu'
+'t'#2'%'#0#1#7'Command'#2'e'#8'ShortCut'#3'% '#0#1#7'Command'#2#5#8'ShortCut'
+#3'%@'#0#1#7'Command'#2'i'#8'ShortCut'#3'%`'#0#1#7'Command'#2#2#8'ShortCut'#2
+''''#0#1#7'Command'#2'f'#8'ShortCut'#3''' '#0#1#7'Command'#2#6#8'ShortCut'#3
+'''@'#0#1#7'Command'#2'j'#8'ShortCut'#3'''`'#0#1#7'Command'#2#10#8'ShortCut'
+#2'"'#0#1#7'Command'#2'n'#8'ShortCut'#3'" '#0#1#7'Command'#2#14#8'ShortCut'#3
+'"@'#0#1#7'Command'#2'r'#8'ShortCut'#3'"`'#0#1#7'Command'#2#9#8'ShortCut'#2
+'!'#0#1#7'Command'#2'm'#8'ShortCut'#3'! '#0#1#7'Command'#2#13#8'ShortCut'#3
+'!@'#0#1#7'Command'#2'q'#8'ShortCut'#3'!`'#0#1#7'Command'#2#7#8'ShortCut'#2
+'$'#0#1#7'Command'#2'k'#8'ShortCut'#3'$ '#0#1#7'Command'#2#15#8'ShortCut'#3
+'$@'#0#1#7'Command'#2's'#8'ShortCut'#3'$`'#0#1#7'Command'#2#8#8'ShortCut'#2
+'#'#0#1#7'Command'#2'l'#8'ShortCut'#3'# '#0#1#7'Command'#2#16#8'ShortCut'#3
+'#@'#0#1#7'Command'#2't'#8'ShortCut'#3'#`'#0#1#7'Command'#3#223#0#8'ShortCut'
+#2'-'#0#1#7'Command'#3#201#0#8'ShortCut'#3'-@'#0#1#7'Command'#3'\'#2#8'Short'
+'Cut'#3'- '#0#1#7'Command'#3#246#1#8'ShortCut'#2'.'#0#1#7'Command'#3'['#2#8
+'ShortCut'#3'. '#0#1#7'Command'#3#245#1#8'ShortCut'#2#8#0#1#7'Command'#3#245
+#1#8'ShortCut'#3#8' '#0#1#7'Command'#3#248#1#8'ShortCut'#3#8'@'#0#1#7'Comman'
+'d'#3'Y'#2#8'ShortCut'#4#8#128#0#0#0#1#7'Command'#3'Z'#2#8'ShortCut'#4#8#160
+#0#0#0#1#7'Command'#3#253#1#8'ShortCut'#2#13#0#1#7'Command'#3#199#0#8'ShortC'
+'ut'#3'A@'#0#1#7'Command'#3#201#0#8'ShortCut'#3'C@'#0#1#7'Command'#3'b'#2#8
+'ShortCut'#3'I`'#0#1#7'Command'#3#253#1#8'ShortCut'#3'M@'#0#1#7'Command'#3
+#254#1#8'ShortCut'#3'N@'#0#1#7'Command'#3#247#1#8'ShortCut'#3'T@'#0#1#7'Comm'
+'and'#3'c'#2#8'ShortCut'#3'U`'#0#1#7'Command'#3'\'#2#8'ShortCut'#3'V@'#0#1#7
+'Command'#3'['#2#8'ShortCut'#3'X@'#0#1#7'Command'#3#251#1#8'ShortCut'#3'Y@'#0
+#1#7'Command'#3#250#1#8'ShortCut'#3'Y`'#0#1#7'Command'#3'Y'#2#8'ShortCut'#3
+'Z@'#0#1#7'Command'#3'Z'#2#8'ShortCut'#3'Z`'#0#1#7'Command'#3'-'#1#8'ShortCu'
+'t'#3'0@'#0#1#7'Command'#3'.'#1#8'ShortCut'#3'1@'#0#1#7'Command'#3'/'#1#8'Sh'
+'ortCut'#3'2@'#0#1#7'Command'#3'0'#1#8'ShortCut'#3'3@'#0#1#7'Command'#3'1'#1
+#8'ShortCut'#3'4@'#0#1#7'Command'#3'2'#1#8'ShortCut'#3'5@'#0#1#7'Command'#3
+'3'#1#8'ShortCut'#3'6@'#0#1#7'Command'#3'4'#1#8'ShortCut'#3'7@'#0#1#7'Comman'
+'d'#3'5'#1#8'ShortCut'#3'8@'#0#1#7'Command'#3'6'#1#8'ShortCut'#3'9@'#0#1#7'C'
+'ommand'#3'_'#1#8'ShortCut'#3'0`'#0#1#7'Command'#3'`'#1#8'ShortCut'#3'1`'#0#1
+#7'Command'#3'a'#1#8'ShortCut'#3'2`'#0#1#7'Command'#3'b'#1#8'ShortCut'#3'3`'
+#0#1#7'Command'#3'c'#1#8'ShortCut'#3'4`'#0#1#7'Command'#3'd'#1#8'ShortCut'#3
+'5`'#0#1#7'Command'#3'e'#1#8'ShortCut'#3'6`'#0#1#7'Command'#3'f'#1#8'ShortCu'
+'t'#3'7`'#0#1#7'Command'#3'g'#1#8'ShortCut'#3'8`'#0#1#7'Command'#3'h'#1#8'Sh'
+'ortCut'#3'9`'#0#1#7'Command'#3#231#0#8'ShortCut'#3'N`'#0#1#7'Command'#3#232
+#0#8'ShortCut'#3'C`'#0#1#7'Command'#3#233#0#8'ShortCut'#3'L`'#0#1#7'Command'
+#3'd'#2#8'ShortCut'#2#9#0#1#7'Command'#3'e'#2#8'ShortCut'#3#9' '#0#1#7'Comma'
+'nd'#3#250#0#8'ShortCut'#3'B`'#0#0#13'Lines.Strings'#1#6#14'DisplayPreview'#0
+#8'ReadOnly'#9#19'OnSpecialLineMarkup'#7#19'OnSpecialLineColors'#14'OnStatus'
+'Change'#7#26'DisplayPreviewStatusChange'#0#0#0#5'TPage'#14'KeymappingPage'#7
+'Caption'#6#14'KeymappingPage'#11'ClientWidth'#3'"'#2#12'ClientHeight'#3#254
+#1#0#6'TLabel'#19'KeyMappingHelpLabel'#21'AnchorSideTop.Control'#7#14'Keymap'
+'pingPage'#4'Left'#2#8#6'Height'#2#14#3'Top'#2#6#5'Width'#2'i'#18'BorderSpac'
+'ing.Left'#2#6#17'BorderSpacing.Top'#2#6#19'BorderSpacing.Right'#2#6#7'Capti'
+'on'#6#19'KeyMappingHelpLabel'#11'ParentColor'#8#0#0#7'TButton'#28'KeyMappin'
,'gChooseSchemeButton'#22'AnchorSideLeft.Control'#7#14'KeymappingPage'#21'Anc'
+'horSideTop.Control'#7#14'KeymappingPage'#24'AnchorSideBottom.Control'#7#14
+'KeymappingPage'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#2#6#6'Heig'
+'ht'#2#23#3'Top'#3#225#1#5'Width'#3#189#0#7'Anchors'#11#6'akLeft'#8'akBottom'
+#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#28'KeyMappingChoo'
+'seSchemeButton'#7'OnClick'#7'!KeyMappingChooseSchemeButtonClick'#8'TabOrder'
+#2#0#0#0#7'TButton KeyMappingConsistencyCheckButton'#21'AnchorSideTop.Contro'
+'l'#7#14'KeymappingPage'#23'AnchorSideRight.Control'#7#14'KeymappingPage'#20
+'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#14'Keym'
+'appingPage'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3'Q'#1#6'Heigh'
+'t'#2#23#3'Top'#3#225#1#5'Width'#3#203#0#7'Anchors'#11#7'akRight'#8'akBottom'
+#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6' KeyMappingConsis'
+'tencyCheckButton'#7'OnClick'#7'%KeyMappingConsistencyCheckButtonClick'#8'Ta'
+'bOrder'#2#1#0#0#9'TTreeView'#18'KeyMappingTreeView'#22'AnchorSideLeft.Contr'
+'ol'#7#14'KeymappingPage'#21'AnchorSideTop.Control'#7#20'KeyMappingFilterEdi'
+'t'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#14'K'
+'eymappingPage'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.'
+'Control'#7#23'KeyMappingFindKeyButton'#4'Left'#2#6#6'Height'#3#131#1#3'Top'
+#2';'#5'Width'#3#22#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'
+#0#20'BorderSpacing.Around'#2#6#17'DefaultItemHeight'#2#15#8'ReadOnly'#9#9'R'
+'owSelect'#9#8'TabOrder'#2#2#9'OnMouseUp'#7#25'KeyMappingTreeViewMouseUp'#7
+'Options'#11#17'tvoAutoItemHeight'#16'tvoHideSelection'#21'tvoKeepCollapsedN'
+'odes'#11'tvoReadOnly'#12'tvoRowSelect'#14'tvoShowButtons'#12'tvoShowLines'
+#11'tvoShowRoot'#17'tvoShowSeparators'#11'tvoToolTips'#0#0#0#5'TEdit'#20'Key'
+'MappingFilterEdit'#22'AnchorSideLeft.Control'#7#14'KeymappingPage'#21'Ancho'
+'rSideTop.Control'#7#19'KeyMappingHelpLabel'#18'AnchorSideTop.Side'#7#9'asrB'
+'ottom'#23'AnchorSideRight.Control'#7#14'KeymappingPage'#20'AnchorSideRight.'
+'Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#27#3'Top'#2#26#5'Width'#3#22#2
+#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#8'AutoSize'#9#20'BorderSpacin'
+'g.Around'#2#6#8'OnChange'#7#26'KeyMappingFilterEditChange'#7'OnEnter'#7#25
+'KeyMappingFilterEditEnter'#6'OnExit'#7#24'KeyMappingFilterEditExit'#8'TabOr'
+'der'#2#3#4'Text'#6#20'KeyMappingFilterEdit'#0#0#7'TButton'#23'KeyMappingFin'
+'dKeyButton'#22'AnchorSideLeft.Control'#7#14'KeymappingPage'#20'AnchorSideRi'
@ -253,11 +257,11 @@ LazarusResources.Add('TEditorOptionsForm','FORMDATA',[
+'rier'#10'Font.Pitch'#7#7'fpFixed'#11'ParentColor'#8#10'ParentFont'#8#8'TabO'
+'rder'#2#3#11'OnMouseDown'#7#19'ColorPreviewMouseUp'#24'BookMarkOptions.OnCh'
+'ange'#13#10'Keystrokes'#14#1#7'Command'#2#3#8'ShortCut'#2'&'#0#1#7'Command'
+#2'g'#8'ShortCut'#3'& '#0#1#7'Command'#3#211#0#8'ShortCut'#3'&@'#0#1#7'Comma'
,#2'g'#8'ShortCut'#3'& '#0#1#7'Command'#3#211#0#8'ShortCut'#3'&@'#0#1#7'Comma'
+'nd'#2#4#8'ShortCut'#2'('#0#1#7'Command'#2'h'#8'ShortCut'#3'( '#0#1#7'Comman'
+'d'#3#212#0#8'ShortCut'#3'(@'#0#1#7'Command'#2#1#8'ShortCut'#2'%'#0#1#7'Comm'
+'and'#2'e'#8'ShortCut'#3'% '#0#1#7'Command'#2#5#8'ShortCut'#3'%@'#0#1#7'Comm'
,'and'#2'i'#8'ShortCut'#3'%`'#0#1#7'Command'#2#2#8'ShortCut'#2''''#0#1#7'Comm'
+'and'#2'i'#8'ShortCut'#3'%`'#0#1#7'Command'#2#2#8'ShortCut'#2''''#0#1#7'Comm'
+'and'#2'f'#8'ShortCut'#3''' '#0#1#7'Command'#2#6#8'ShortCut'#3'''@'#0#1#7'Co'
+'mmand'#2'j'#8'ShortCut'#3'''`'#0#1#7'Command'#2#10#8'ShortCut'#2'"'#0#1#7'C'
+'ommand'#2'n'#8'ShortCut'#3'" '#0#1#7'Command'#2#14#8'ShortCut'#3'"@'#0#1#7
@ -317,11 +321,11 @@ LazarusResources.Add('TEditorOptionsForm','FORMDATA',[
+'ound'#2#6#7'Caption'#6#10'Attributes'#12'ClientHeight'#3#218#0#11'ClientWid'
+'th'#3'N'#1#8'TabOrder'#2#7#0#6'TLabel'#15'ForeGroundLabel'#4'Left'#2#8#6'He'
+'ight'#2#14#5'Width'#2'S'#7'Caption'#6#15'ForeGroundLabel'#11'ParentColor'#8
+#0#0#12'TColorButton'#21'ForegroundColorButton'#21'AnchorSideTop.Control'#7
,#0#0#12'TColorButton'#21'ForegroundColorButton'#21'AnchorSideTop.Control'#7
+#15'ForeGroundLabel'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#8#6'Hei'
+'ght'#2#21#3'Top'#2#16#5'Width'#2'K'#17'BorderSpacing.Top'#2#2#11'BorderWidt'
+'h'#2#2#15'ButtonColorSize'#2#16#5'Color'#7#9'clBtnFace'#14'OnColorChanged'#7
,#23'ColorButtonColorChanged'#0#0#12'TColorButton'#21'BackGroundColorButton'
+#23'ColorButtonColorChanged'#0#0#12'TColorButton'#21'BackGroundColorButton'
+#21'AnchorSideTop.Control'#7#15'BackGroundLabel'#18'AnchorSideTop.Side'#7#9
+'asrBottom'#4'Left'#2#8#6'Height'#2#21#3'Top'#2':'#5'Width'#2'K'#17'BorderSp'
+'acing.Top'#2#2#11'BorderWidth'#2#2#15'ButtonColorSize'#2#16#5'Color'#7#9'cl'
@ -381,11 +385,11 @@ LazarusResources.Add('TEditorOptionsForm','FORMDATA',[
+'eight'#2#19#3'Top'#3#174#0#5'Width'#3'>'#1#5'Align'#7#8'alBottom'#8'AutoSiz'
+'e'#9#20'BorderSpacing.Around'#2#6#10'BevelOuter'#7#6'bvNone'#12'ClientHeigh'
+'t'#2#19#11'ClientWidth'#3'>'#1#8'TabOrder'#2#4#0#9'TCheckBox'#18'TextItalic'
+'CheckBox'#6'Height'#2#19#5'Width'#3#174#0#5'Align'#7#8'alClient'#7'Caption'
,'CheckBox'#6'Height'#2#19#5'Width'#3#174#0#5'Align'#7#8'alClient'#7'Caption'
+#6#18'TextItalicCheckBox'#8'OnChange'#7#23'GeneralCheckBoxOnChange'#8'TabOrd'
+'er'#2#0#0#0#6'TPanel'#20'TextItalicRadioPanel'#4'Left'#3#174#0#6'Height'#2
+#19#5'Width'#3#144#0#5'Align'#7#7'alRight'#8'AutoSize'#9#10'BevelOuter'#7#6
,'bvNone'#29'ChildSizing.HorizontalSpacing'#2#3#29'ChildSizing.EnlargeHorizon'
+'bvNone'#29'ChildSizing.HorizontalSpacing'#2#3#29'ChildSizing.EnlargeHorizon'
+'tal'#7#14'crsScaleChilds'#28'ChildSizing.ShrinkHorizontal'#7#14'crsScaleChi'
+'lds'#18'ChildSizing.Layout'#7#29'cclLeftToRightThenTopToBottom'#27'ChildSiz'
+'ing.ControlsPerLine'#2#3#12'ClientHeight'#2#19#11'ClientWidth'#3#144#0#8'Ta'
@ -445,9 +449,9 @@ LazarusResources.Add('TEditorOptionsForm','FORMDATA',[
+'eight'#2#23#3'Top'#2#6#5'Width'#2'Z'#5'Align'#7#7'alRight'#8'AutoSize'#9#20
+'BorderSpacing.Around'#2#6#7'Caption'#6#12'CancelButton'#20'Constraints.MinW'
+'idth'#2'K'#9'NumGlyphs'#2#0#7'OnClick'#7#17'CancelButtonClick'#8'TabOrder'#2
+#0#0#0#7'TBitBtn'#8'OkButton'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Lef'
,#0#0#0#7'TBitBtn'#8'OkButton'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Lef'
+'t'#3'y'#1#6'Height'#2#23#3'Top'#2#6#5'Width'#2'K'#5'Align'#7#7'alRight'#8'A'
+'utoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#8'OkButton'#20'Constra'
+'ints.MinWidth'#2'K'#9'NumGlyphs'#2#0#7'OnClick'#7#13'OkButtonClick'#8'TabOr'
,'der'#2#1#0#0#0#0
+'der'#2#1#0#0#0#0
]);

View File

@ -388,6 +388,7 @@ type
fEditorFontHeight: Integer;
fExtraCharSpacing: Integer;
fExtraLineSpacing: Integer;
fDisableAntialiasing: Boolean;
FDoNotWarnForFont: string;
// Key Mappings options
@ -492,6 +493,8 @@ type
read fExtraCharSpacing write fExtraCharSpacing default 0;
property ExtraLineSpacing: Integer
read fExtraLineSpacing write fExtraLineSpacing default 1;
property DisableAntialiasing: Boolean
read fDisableAntialiasing write fDisableAntialiasing default True;
property DoNotWarnForFont: string
read FDoNotWarnForFont write FDoNotWarnForFont;
@ -531,6 +534,7 @@ type
TEditorOptionsForm = class(TForm)
CancelButton: TBitBtn;
DisableAntialiasingCheckBox: TCheckBox;
MainNoteBook: TNoteBook;
// general options
@ -1534,6 +1538,7 @@ begin
// Display options
fEditorFont := SynDefaultFontName;
fEditorFontHeight := SynDefaultFontHeight;
fDisableAntialiasing := True;
// Key Mappings
fKeyMappingScheme := KeyMapSchemeNames[kmsLazarus];
@ -1675,6 +1680,8 @@ begin
XMLConfig.GetValue('EditorOptions/Display/ExtraCharSpacing', 0);
fExtraLineSpacing :=
XMLConfig.GetValue('EditorOptions/Display/ExtraLineSpacing', 1);
fDisableAntialiasing :=
XMLConfig.GetValue('EditorOptions/Display/DisableAntialiasing', True);
FDoNotWarnForFont :=
XMLConfig.GetValue('EditorOptions/Display/DoNotWarnForFont', '');
@ -1808,6 +1815,8 @@ begin
,fExtraCharSpacing, 1);
XMLConfig.SetDeleteValue('EditorOptions/Display/ExtraLineSpacing'
,fExtraLineSpacing, 1);
XMLConfig.SetDeleteValue('EditorOptions/Display/DisableAntialiasing'
,fDisableAntialiasing, True);
XMLConfig.SetDeleteValue('EditorOptions/Display/DoNotWarnForFont'
,FDoNotWarnForFont, '');
@ -2367,6 +2376,10 @@ begin
ASynEdit.RightEdgeColor := fRightMarginColor;
ASynEdit.Font.Height := fEditorFontHeight;// set height before name for XLFD !
ASynEdit.Font.Name := fEditorFont;
if fDisableAntialiasing then
ASynEdit.Font.Quality := fqNonAntialiased
else
ASynEdit.Font.Quality := fqDefault;
//debugln(['TEditorOptions.GetSynEditSettings ',ASynEdit.font.height]);
ASynEdit.ExtraCharSpacing := fExtraCharSpacing;
@ -2404,6 +2417,7 @@ begin
fEditorFontHeight := ASynEdit.Font.Height;
fExtraCharSpacing := ASynEdit.ExtraCharSpacing;
fExtraLineSpacing := ASynEdit.ExtraLineSpacing;
fDisableAntialiasing := (ASynEdit.Font.Quality = fqNonAntialiased);
fUndoLimit := ASynEdit.MaxUndo;
end;
@ -2647,6 +2661,10 @@ begin
PreviewEdits[a].RightEdge:=StrToIntDef(RightMarginComboBox.Text,80)
else
PreviewEdits[a].RightEdge:=0;
if DisableAntialiasingCheckBox.Checked then
PreviewEdits[a].Font.Quality:=fqNonAntialiased
else
PreviewEdits[a].Font.Quality:=fqDefault;
end;
if CurHighlightElement <> Nil then
begin
@ -3886,6 +3904,8 @@ begin
ExtraCharSpacingLabel.Caption := dlgExtraCharSpacing;
SetComboBoxText(ExtraLineSpacingComboBox,IntToStr(EditorOpts.ExtraLineSpacing));
ExtraLineSpacingLabel.Caption := dlgExtraLineSpacing;
DisableAntialiasingCheckBox.Checked := EditorOpts.DisableAntialiasing;
DisableAntialiasingCheckBox.Caption := dlgDisableAntialiasing;
end;
procedure TEditorOptionsForm.SetupKeyMappingsPage(Page: Integer);

View File

@ -1128,6 +1128,7 @@ resourcestring
dlgEditorFontHeight = 'Editor font height';
dlgExtraCharSpacing = 'Extra char spacing';
dlgExtraLineSpacing = 'Extra line spacing';
dlgDisableAntialiasing = 'Disable anti-aliasing';
dlgKeyMappingScheme = 'Key Mapping Scheme';
dlgCheckConsistency = 'Check consistency';
lisEdOptsChooseScheme = 'Choose Scheme';