Skip to content

Commit

Permalink
Changed line numbers color to white
Browse files Browse the repository at this point in the history
  • Loading branch information
Klocman committed Apr 2, 2018
1 parent 5efdf1d commit 715dee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MainApplication/Controls/FileEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public FileEditor()
InitializeComponent();

scintilla1.Styles[Style.LineNumber].BackColor = Color.DarkGray;
scintilla1.Styles[Style.LineNumber].ForeColor = Color.LightGray;
scintilla1.Styles[Style.LineNumber].ForeColor = Color.White;
var nums = scintilla1.Margins[1];
nums.Type = MarginType.Number;
nums.Mask = 0;
Expand Down
2 changes: 1 addition & 1 deletion MainApplication/Controls/MultilineListBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected override void OnDrawItem(DrawItemEventArgs e)
// Draw verse number
var verseNumber = (e.Index + 1).ToString();
e.Graphics.FillRectangle(new SolidBrush(Color.DarkGray), GetNumberBoxBounds(e.Bounds));
TextRenderer.DrawText(e.Graphics, verseNumber, Font, GetNumberTextBounds(e.Bounds), Color.LightGray, DrawNumberTextFlags);
TextRenderer.DrawText(e.Graphics, verseNumber, Font, GetNumberTextBounds(e.Bounds), Color.White, DrawNumberTextFlags);
e.Graphics.DrawRectangle(new Pen(SystemColors.ControlDarkDark), GetNumberBoxBounds(e.Bounds));
}
}
Expand Down

0 comments on commit 715dee9

Please sign in to comment.