Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Merge branch 'main' into editor-tests
Mikayla4c5d5105f350
diff --cc crates/gpui2/src/window.rsindex 0bd9a8bafda,fd3890d644e..45d1ec69fac--- a/crates/gpui2/src/window.rs+++ b/crates/gpui2/src/window.rs@@@ -1,16 -1,17 +1,17 @@@use crate::{- px, size, Action, AnyBox, AnyDrag, AnyView, AppContext, AsyncWindowContext, AvailableSpace,- Bounds, BoxShadow, Context, Corners, CursorStyle, DevicePixels, DispatchContext, DisplayId,- Edges, Effect, Entity, EntityId, EventEmitter, FileDropEvent, FocusEvent, FontId,- GlobalElementId, GlyphId, Hsla, ImageData, InputEvent, IsZero, KeyListener, KeyMatch,- KeyMatcher, Keystroke, LayoutId, Model, ModelContext, Modifiers, MonochromeSprite, MouseButton,- MouseDownEvent, MouseMoveEvent, MouseUpEvent, Path, Pixels, PlatformAtlas, PlatformDisplay,- PlatformInputHandler, PlatformWindow, Point, PolychromeSprite, PromptLevel, Quad, Render,- RenderGlyphParams, RenderImageParams, RenderSvgParams, ScaledPixels, SceneBuilder, Shadow,- SharedString, Size, Style, SubscriberSet, Subscription, TaffyLayoutEngine, Task, Underline,- UnderlineStyle, View, VisualContext, WeakView, WindowBounds, WindowOptions, SUBPIXEL_VARIANTS,+ build_action_from_type, px, size, Action, AnyBox, AnyDrag, AnyView, AppContext,+ AsyncWindowContext, AvailableSpace, Bounds, BoxShadow, Context, Corners, CursorStyle,+ DevicePixels, DispatchContext, DisplayId, Edges, Effect, Entity, EntityId, EventEmitter,+ FileDropEvent, FocusEvent, FontId, GlobalElementId, GlyphId, Hsla, ImageData, InputEvent,+ IsZero, KeyListener, KeyMatch, KeyMatcher, Keystroke, LayoutId, Model, ModelContext, Modifiers,+ MonochromeSprite, MouseButton, MouseDownEvent, MouseMoveEvent, MouseUpEvent, Path, Pixels,+ PlatformAtlas, PlatformDisplay, PlatformInputHandler, PlatformWindow, Point, PolychromeSprite,+ PromptLevel, Quad, Render, RenderGlyphParams, RenderImageParams, RenderSvgParams, ScaledPixels,+ SceneBuilder, Shadow, SharedString, Size, Style, SubscriberSet, Subscription,+ TaffyLayoutEngine, Task, Underline, UnderlineStyle, View, VisualContext, WeakView,+ WindowBounds, WindowOptions, SUBPIXEL_VARIANTS,};-use anyhow::{anyhow, Result};+use anyhow::{anyhow, Context as _, Result};use collections::HashMap;use derive_more::{Deref, DerefMut};use futures::{