Add regex highlights in the query input (#25005)

Closes https://github.com/zed-industries/zed/discussions/24994

Release Notes:

- Added regex highlights in the query input
This commit is contained in:
Kirill Bulatov 2025-02-17 11:15:43 +02:00 committed by GitHub
parent 91c99baaf2
commit b5d85b638a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 117 additions and 35 deletions

View file

@ -78,7 +78,7 @@ impl VimTestContext {
cx.update_workspace(|workspace, window, cx| {
workspace.active_pane().update(cx, |pane, cx| {
pane.toolbar().update(cx, |toolbar, cx| {
let buffer_search_bar = cx.new(|cx| BufferSearchBar::new(window, cx));
let buffer_search_bar = cx.new(|cx| BufferSearchBar::new(None, window, cx));
toolbar.add_item(buffer_search_bar, window, cx);
let project_search_bar = cx.new(|_| ProjectSearchBar::new());