diff --git a/ILSpy/TextView/DecompilerTextView.cs b/ILSpy/TextView/DecompilerTextView.cs index b685dede9..d63e42bbb 100644 --- a/ILSpy/TextView/DecompilerTextView.cs +++ b/ILSpy/TextView/DecompilerTextView.cs @@ -132,6 +132,8 @@ namespace ICSharpCode.ILSpy.TextView ContextMenuProvider.Add(this); + textEditor.TextArea.TextView.SetResourceReference(ICSharpCode.AvalonEdit.Rendering.TextView.LinkTextForegroundBrushProperty, ResourceKeys.LinkTextForegroundBrush); + this.DataContextChanged += DecompilerTextView_DataContextChanged; } diff --git a/ILSpy/themes/DarkTheme.xaml b/ILSpy/themes/DarkTheme.xaml index d7a1458c2..786b4e717 100644 --- a/ILSpy/themes/DarkTheme.xaml +++ b/ILSpy/themes/DarkTheme.xaml @@ -31,5 +31,6 @@ MediumVioletRed + CornflowerBlue \ No newline at end of file diff --git a/ILSpy/themes/ResourceKeys.cs b/ILSpy/themes/ResourceKeys.cs index 66da3ad0a..d54007f89 100644 --- a/ILSpy/themes/ResourceKeys.cs +++ b/ILSpy/themes/ResourceKeys.cs @@ -6,5 +6,6 @@ namespace ICSharpCode.ILSpy.themes { public static ResourceKey TextMarkerBackgroundColor = new ComponentResourceKey(typeof(ResourceKeys), "TextMarkerBackgroundColor"); public static ResourceKey TextMarkerDefinitionBackgroundColor = new ComponentResourceKey(typeof(ResourceKeys), "TextMarkerDefinitionBackgroundColor"); + public static ResourceKey LinkTextForegroundBrush = new ComponentResourceKey(typeof(ResourceKeys), "LinkTextForegroundBrush"); } } diff --git a/ILSpy/themes/generic.xaml b/ILSpy/themes/generic.xaml index f0bf6a8b4..10da92843 100644 --- a/ILSpy/themes/generic.xaml +++ b/ILSpy/themes/generic.xaml @@ -29,4 +29,5 @@ GreenYellow LightSeaGreen + Blue \ No newline at end of file