File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Serilog.Sinks.RichTextBox.WinForms.Colored/Sinks/RichTextBoxForms Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ public class RichTextBoxSinkOptions
2828 private int _maxLogLines ;
2929
3030 /// <summary>
31- /// Creates a new collection of options that control the behaviour and appearance of a
31+ /// Creates a new collection of options that control the behavior and appearance of a
3232 /// <see cref="RichTextBoxSink"/> instance.
3333 /// </summary>
34- /// <param name="theme">The colour theme applied when rendering individual message tokens.</param>
34+ /// <param name="theme">The color theme applied when rendering individual message tokens.</param>
3535 /// <param name="autoScroll">When <c>true</c> (default) the target control scrolls automatically to the most recent log line.</param>
3636 /// <param name="maxLogLines">Maximum number of log events retained in the in-memory circular buffer and rendered in the control.</param>
3737 /// <param name="outputTemplate">Serilog output template that controls textual formatting of each log event.</param>
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ public RtfBuilder(Theme theme)
3939 _currentFgIndex = RegisterColor ( SelectionColor ) ;
4040 _currentBgIndex = RegisterColor ( SelectionBackColor ) ;
4141
42- foreach ( var colour in theme . Colors )
42+ foreach ( var color in theme . Colors )
4343 {
44- RegisterColor ( colour ) ;
44+ RegisterColor ( color ) ;
4545 }
4646 }
4747
@@ -57,7 +57,7 @@ public RtfBuilder(Theme theme)
5757
5858 public void AppendText ( string text )
5959 {
60- EnsureColourSwitch ( ) ;
60+ EnsureColorSwitch ( ) ;
6161 EscapeAndAppend ( text ) ;
6262 TextLength += text . Length ;
6363 }
@@ -67,7 +67,7 @@ public string Rtf
6767 get => BuildDocument ( ) ;
6868 }
6969
70- private void EnsureColourSwitch ( )
70+ private void EnsureColorSwitch ( )
7171 {
7272 var fgIdx = RegisterColor ( SelectionColor ) ;
7373 var bgIdx = RegisterColor ( SelectionBackColor ) ;
You can’t perform that action at this time.
0 commit comments