Browse Source

Fix colors of fold margin

pull/2334/head
tom-englert 4 years ago
parent
commit
4797a668f7
  1. 9
      ILSpy/TextView/DecompilerTextView.cs

9
ILSpy/TextView/DecompilerTextView.cs

@ -129,6 +129,15 @@ namespace ICSharpCode.ILSpy.TextView @@ -129,6 +129,15 @@ namespace ICSharpCode.ILSpy.TextView
textEditor.TextArea.TextView.BackgroundRenderers.Add(textMarkerService);
textEditor.TextArea.TextView.LineTransformers.Add(textMarkerService);
textEditor.SetResourceReference(FoldingMargin.FoldingMarkerBackgroundBrushProperty,
SystemColors.WindowBrushKey);
textEditor.SetResourceReference(FoldingMargin.SelectedFoldingMarkerBackgroundBrushProperty,
SystemColors.WindowBrushKey);
textEditor.SetResourceReference(FoldingMargin.FoldingMarkerBrushProperty,
SystemColors.ControlDarkBrushKey);
textEditor.SetResourceReference(FoldingMargin.SelectedFoldingMarkerBrushProperty,
SystemColors.ControlTextBrushKey);
ContextMenuProvider.Add(this);
this.DataContextChanged += DecompilerTextView_DataContextChanged;

Loading…
Cancel
Save