Permalink
Browse files

* 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
  • Loading branch information...
ansgarbecker committed Feb 3, 2018
1 parent ef06c24 commit bc04747ad2937a23e05e5393ef1fdb28f8547965
Showing with 3 additions and 4 deletions.
  1. +2 −4 source/main.dfm
  2. +1 −0 source/main.pas
@@ -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 = []
@@ -10876,6 +10876,7 @@ procedure TMainform.SetupSynEditors;
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;

0 comments on commit bc04747

Please sign in to comment.