From bcad02e90b917857cd10dd17e22d63976249a34f Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 17:05:53 +0000 Subject: [PATCH] Fix another case where we could apply highlights with wrong indices (#50367) (cherry-pick to preview) (#50509) Cherry-pick of #50367 to preview ---- Closes #ISSUE Release Notes: - N/A Co-authored-by: Conrad Irwin --- 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 78550963ce2b4d093c655825f42fdc2db60284bb..a2e672116da5bcd7a88992419b99c7b9d7fe40c9 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -7954,7 +7954,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()