mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 21:05:08 +00:00
Don't auto-close in search (#52553)
This was incidentally broken when we switched to the auto_height editor Self-Review Checklist: - [ ] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Closes #52124 Release Notes: - Disabled autoclose of brackets in the project search
This commit is contained in:
parent
257712e90b
commit
7d3ccce952
1 changed files with 1 additions and 0 deletions
|
|
@ -936,6 +936,7 @@ impl ProjectSearchView {
|
|||
let query_editor = cx.new(|cx| {
|
||||
let mut editor = Editor::auto_height(1, 4, window, cx);
|
||||
editor.set_placeholder_text("Search all files…", window, cx);
|
||||
editor.set_use_autoclose(false);
|
||||
editor.set_text(query_text, window, cx);
|
||||
editor
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue