Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Merge remote-tracking branch 'origin/main' into simplify-action-dispatch

Antonio Scandurra489b1f6a631e
diff --cc crates/editor/src/hover_popover.rs
index ef6a9d3ff9a,623b8ba13f1..2932fa547ed
--- a/crates/editor/src/hover_popover.rs
+++ b/crates/editor/src/hover_popover.rs
@@@ -1,14 -1,16 +1,15 @@@
use futures::FutureExt;
use gpui::{
actions,
- elements::{Flex, MouseEventHandler, Padding, Text},
+ elements::{Flex, MouseEventHandler, Padding, ParentElement, Text},
+ fonts::{HighlightStyle, Underline, Weight},
- impl_internal_actions,
platform::{CursorStyle, MouseButton},
- AnyElement, AppContext, Axis, Element, ModelHandle, Task, ViewContext,
+ AnyElement, AppContext, CursorRegion, Element, ModelHandle, MouseRegion, Task, ViewContext,
};
- use language::{Bias, DiagnosticEntry, DiagnosticSeverity};
- use project::{HoverBlock, Project};
+ use language::{Bias, DiagnosticEntry, DiagnosticSeverity, Language, LanguageRegistry};
+ use project::{HoverBlock, HoverBlockKind, Project};
use settings::Settings;
- use std::{ops::Range, time::Duration};
+ use std::{ops::Range, sync::Arc, time::Duration};
use util::TryFutureExt;
use crate::{