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

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2025-04-14 14:23:42 -06:00 committed by GitHub
parent 9d91908256
commit db56254517
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,6 +93,7 @@ impl MessageEditor {
); );
editor.set_placeholder_text("Ask anything, @ to mention, ↑ to select", cx); editor.set_placeholder_text("Ask anything, @ to mention, ↑ to select", cx);
editor.set_show_indent_guides(false, cx); editor.set_show_indent_guides(false, cx);
editor.set_soft_wrap();
editor.set_context_menu_options(ContextMenuOptions { editor.set_context_menu_options(ContextMenuOptions {
min_entries_visible: 12, min_entries_visible: 12,
max_entries_visible: 12, max_entries_visible: 12,