From a2f478a0d9721acc42787d50880d5d9095adf5d3 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 29 Jul 2025 11:49:35 +0800 Subject: [PATCH] ux: use bold font for error keywords in command log Signed-off-by: leo --- src/Views/CommandLogContentPresenter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Views/CommandLogContentPresenter.cs b/src/Views/CommandLogContentPresenter.cs index a2499f8d..7aa66575 100644 --- a/src/Views/CommandLogContentPresenter.cs +++ b/src/Views/CommandLogContentPresenter.cs @@ -50,7 +50,9 @@ namespace SourceGit.Views { ChangeLinePart(line.Offset + idx, line.Offset + err.Length + 1, v => { + var old = v.TextRunProperties.Typeface; v.TextRunProperties.SetForegroundBrush(Brushes.Red); + v.TextRunProperties.SetTypeface(new Typeface(old.FontFamily, old.Style, FontWeight.Bold)); }); } }