Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Apply soft-wrap when message editor is expanded (#28716)

Bennet Bo Fennerdb56254517cc
diff --git a/crates/agent/src/message_editor.rs b/crates/agent/src/message_editor.rs
index 573e4b4d036..6c1c76b26e7 100644
--- a/crates/agent/src/message_editor.rs
+++ b/crates/agent/src/message_editor.rs
@@ -93,6 +93,7 @@ impl MessageEditor {
);
editor.set_placeholder_text("Ask anything, @ to mention, ↑ to select", cx);
editor.set_show_indent_guides(false, cx);
+ editor.set_soft_wrap();
editor.set_context_menu_options(ContextMenuOptions {
min_entries_visible: 12,
max_entries_visible: 12,