Skip to content

Commit

Permalink
* widen SynMemo's Gutter.DigitCount from 2 to its default value (4)
Browse files Browse the repository at this point in the history
* 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 bc04747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source/main.dfm
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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 = []
Expand Down
1 change: 1 addition & 0 deletions source/main.pas
Expand Up @@ -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;
Expand Down

0 comments on commit bc04747

Please sign in to comment.