Nathan Sobo
68e7d99219
Return impl IntoElement from RenderOnce::render
...
This makes it a bit more approachable to implement.
This required converting the state of Component to AnyElement, which
costs an allocation. I'm hoping this will be ok performance-wise now
that AnyElements use bump allocation, but I need to benchmark still.
2024-01-02 10:27:09 -07:00
Nathan Sobo
1b5c8b2b4a
Return impl IntoElement from Render::render trait
2024-01-02 10:09:05 -07:00
Nathan Sobo
81b03d379e
Rearrange to hopefully make merging easier
2024-01-01 12:21:17 -07:00
Nathan Sobo
51d1d92d66
Attempt to return impl Element from render. 3 errors.
2024-01-01 14:23:02 +01:00
Piotr Osiewicz
45f7ab876f
buffer search: Fix up rough edges
...
Focus query editor when Deploy::focused is true, add missing bindings
2023-12-07 12:52:34 +01:00
Marshall Bowers
f7c995c4a0
Add "Toggle Inlay Hints" quick action ( #3520 )
...
This PR adds the "Toggle Inlay Hints" quick action to the toolbar.
Release Notes:
- N/A
2023-12-06 16:14:39 -05:00
Marshall Bowers
d711087529
Wire up inline assist quick action
2023-12-06 15:44:50 -05:00
Antonio Scandurra
cc9eff89f5
Use a handler instead of an action for clicks
...
This prevents dispatching actions on buttons that were not the target of the click.
Co-Authored-By: Marshall <marshall@zed.dev>
2023-12-06 19:12:01 +01:00
Nate Butler
4c4b235b13
make ci happy
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-12-05 14:09:42 -05:00
Piotr Osiewicz
412c6157b1
Port quick_action_bar to zed2
...
Co-authored-by: Nate <nate@zed.dev>
2023-12-05 17:33:35 +01:00