Skip to content

Commit 9258284

Browse files
Clean up.
1 parent 4feccb1 commit 9258284

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ICSharpCode.AvalonEdit/Highlighting/HighlightingColorizer.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,10 @@ internal static void ApplyColorToElement(VisualLineElement element, Highlighting
260260
if (color.FontStyle != null || color.FontWeight != null || color.FontFamily != null) {
261261
Typeface tf = element.TextRunProperties.Typeface;
262262
element.TextRunProperties.SetTypeface(new Typeface(
263-
color.FontFamily ?? tf.FontFamily,
264-
color.FontStyle ?? tf.Style,
265-
color.FontWeight ?? tf.Weight,
266-
tf.Stretch
263+
color.FontFamily ?? tf.FontFamily,
264+
color.FontStyle ?? tf.Style,
265+
color.FontWeight ?? tf.Weight,
266+
tf.Stretch
267267
));
268268
}
269269
if (color.Underline ?? false)

0 commit comments

Comments
 (0)