mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
ux: use bold font for error keywords in command log
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -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));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user