Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
WIP
Antonio Scandurra4d621f355dcc
diff --cc crates/gpui2/src/app.rsindex b1dbf70357a,a2227cd9844..9649f4745f5--- a/crates/gpui2/src/app.rs+++ b/crates/gpui2/src/app.rs@@@ -9,11 -9,11 +9,11 @@@ use refineable::Refineableuse smallvec::SmallVec;use crate::{- current_platform, image_cache::ImageCache, Action, AppMetadata, AssetSource, ClipboardItem,- Context, DispatchPhase, DisplayId, Executor, FocusEvent, FocusHandle, FocusId, KeyBinding,- Keymap, LayoutId, MainThread, MainThreadOnly, Platform, SharedString, SubscriberSet,- Subscription, SvgRenderer, Task, TextStyle, TextStyleRefinement, TextSystem, View, Window,- WindowContext, WindowHandle, WindowId,+ current_platform, image_cache::ImageCache, Action, AnyBox, AnyView, AppMetadata, AssetSource,- Context, DispatchPhase, DisplayId, Executor, FocusEvent, FocusHandle, FocusId, KeyBinding,- Keymap, LayoutId, MainThread, MainThreadOnly, Pixels, Platform, Point, SharedString,- SubscriberSet, Subscription, SvgRenderer, Task, TextStyle, TextStyleRefinement, TextSystem,- View, Window, WindowContext, WindowHandle, WindowId,++ ClipboardItem, Context, DispatchPhase, DisplayId, Executor, FocusEvent, FocusHandle, FocusId,++ KeyBinding, Keymap, LayoutId, MainThread, MainThreadOnly, Pixels, Platform, Point,++ SharedString, SubscriberSet, Subscription, SvgRenderer, Task, TextStyle, TextStyleRefinement,++ TextSystem, View, Window, WindowContext, WindowHandle, WindowId,};use anyhow::{anyhow, Result};use collections::{HashMap, HashSet, VecDeque};diff --cc crates/gpui2/src/taffy.rsindex 71844bb8a63,cee0f7592f0..ca8b43aa70c--- a/crates/gpui2/src/taffy.rs+++ b/crates/gpui2/src/taffy.rs@@@ -125,7 -125,7 +125,7 @@@ impl TaffyLayoutEngine// }// println!("");-- let started_at = std::time::Instant::now();++ // let started_at = std::time::Instant::now();self.taffy.compute_layout(id.into(), available_space.into()).expect(EXPECT_MESSAGE);