From 77786a3fdca917ca341e17f33c30edd399b793b6 Mon Sep 17 00:00:00 2001 From: Eusebiu Marcu Date: Fri, 20 May 2011 16:43:35 +0300 Subject: [PATCH] Insert icon bar at index 0. --- ILSpy/TextView/DecompilerTextView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/TextView/DecompilerTextView.cs b/ILSpy/TextView/DecompilerTextView.cs index 85122e786..3e00b99be 100644 --- a/ILSpy/TextView/DecompilerTextView.cs +++ b/ILSpy/TextView/DecompilerTextView.cs @@ -100,7 +100,7 @@ namespace ICSharpCode.ILSpy.TextView textEditor.TextArea.TextView.BackgroundRenderers.Add(textMarkerService); textEditor.TextArea.TextView.LineTransformers.Add(textMarkerService); - textEditor.TextArea.LeftMargins.Add(iconMargin); + textEditor.TextArea.LeftMargins.Insert(0, iconMargin); textEditor.TextArea.TextView.VisualLinesChanged += delegate { iconMargin.InvalidateVisual(); }; // Bookmarks context menu