Skip to content

Commit a2f478a

Browse files
committed
ux: use bold font for error keywords in command log
Signed-off-by: leo <[email protected]>
1 parent 5ce919a commit a2f478a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Views/CommandLogContentPresenter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ protected override void ColorizeLine(DocumentLine line)
5050
{
5151
ChangeLinePart(line.Offset + idx, line.Offset + err.Length + 1, v =>
5252
{
53+
var old = v.TextRunProperties.Typeface;
5354
v.TextRunProperties.SetForegroundBrush(Brushes.Red);
55+
v.TextRunProperties.SetTypeface(new Typeface(old.FontFamily, old.Style, FontWeight.Bold));
5456
});
5557
}
5658
}

0 commit comments

Comments
 (0)