diff --git a/src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Search/SearchPanel.cs b/src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Search/SearchPanel.cs index ec9119b0cf..634309520e 100644 --- a/src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Search/SearchPanel.cs +++ b/src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Search/SearchPanel.cs @@ -183,7 +183,6 @@ namespace ICSharpCode.AvalonEdit.Search DataContext = this; renderer = new SearchResultBackgroundRenderer(); - textArea.TextView.BackgroundRenderers.Add(renderer); currentDocument = textArea.Document; currentDocument.TextChanged += textArea_Document_TextChanged; textArea.DocumentChanged += textArea_DocumentChanged;