* widen SynMemo's Gutter.DigitCount from 2 to its default value (4)

* make line numbers gray, so they are not as eye catching as the memo's contents
* closes #26
This commit is contained in:
Ansgar Becker
2018-02-03 19:53:35 +01:00
parent ef06c24297
commit bc04747ad2
2 changed files with 3 additions and 4 deletions

View File

@ -44,9 +44,8 @@ object MainForm: TMainForm
PopupMenu = popupSqlLog
TabOrder = 1
Gutter.AutoSize = True
Gutter.DigitCount = 2
Gutter.Font.Charset = DEFAULT_CHARSET
Gutter.Font.Color = clWindowText
Gutter.Font.Color = clGrayText
Gutter.Font.Height = -11
Gutter.Font.Name = 'Terminal'
Gutter.Font.Style = []
@ -1312,9 +1311,8 @@ object MainForm: TMainForm
OnDragDrop = SynMemoQueryDragDrop
OnDragOver = SynMemoQueryDragOver
Gutter.AutoSize = True
Gutter.DigitCount = 2
Gutter.Font.Charset = DEFAULT_CHARSET
Gutter.Font.Color = clWindowText
Gutter.Font.Color = clGrayText
Gutter.Font.Height = -11
Gutter.Font.Name = 'Terminal'
Gutter.Font.Style = []

View File

@ -10876,6 +10876,7 @@ begin
Editor.Font.Size := AppSettings.ReadInt(asFontSize);
Editor.Gutter.Font.Name := Editor.Font.Name;
Editor.Gutter.Font.Size := Editor.Font.Size;
Editor.Gutter.Font.Color := BaseEditor.Gutter.Font.Color;
Editor.Gutter.AutoSize := BaseEditor.Gutter.AutoSize;
Editor.Gutter.DigitCount := BaseEditor.Gutter.DigitCount;
Editor.Gutter.LeftOffset := BaseEditor.Gutter.LeftOffset;