From 04fc31fc19d05fb77d94ecbf0ca1191e40b2527b Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Mon, 2 Mar 2026 09:53:43 -0700 Subject: [PATCH] Fix another case where we could apply highlights with wrong indices (#50367) Closes #ISSUE Release Notes: - N/A --- crates/editor/src/element.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index 6fc2627533dde920c021b14d5d172cbef40d7a95..7b5530c6fc36828b22f7f78a6482c1d6e04fc166 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -8070,7 +8070,7 @@ fn apply_dirty_filename_style( text_style: &gpui::TextStyle, cx: &App, ) -> Option { - let text = segment.text.replace('\n', "⏎"); + let text = segment.text.replace('\n', " "); let filename_position = std::path::Path::new(&segment.text) .file_name()