From da3a696a60a97c1cfa59fd3eed28fb79412c45f4 Mon Sep 17 00:00:00 2001 From: Aaron Feickert <66188213+AaronFeickert@users.noreply.github.com> Date: Tue, 6 May 2025 02:50:33 -0500 Subject: [PATCH] editor: Remove extra quotes from outline search term (#29829) The outline panel includes quotes around search terms. The rendering makes it somewhat ambiguous whether these quotes are part of the search term and are unnecessary, especially given other rendering differentiation. This PR removes them. Release Notes: - N/A --- crates/outline_panel/src/outline_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/outline_panel/src/outline_panel.rs b/crates/outline_panel/src/outline_panel.rs index b9f07280c3..026fa45b71 100644 --- a/crates/outline_panel/src/outline_panel.rs +++ b/crates/outline_panel/src/outline_panel.rs @@ -4962,7 +4962,7 @@ impl Render for OutlinePanel { .border_color(cx.theme().colors().border) .gap_0p5() .child(Label::new("Searching:").color(Color::Muted)) - .child(Label::new(format!("'{}'", search_state.query))), + .child(Label::new(search_state.query.to_string())), ) }) .child(self.render_main_contents(query, show_indent_guides, indent_size, window, cx))