Introduce keyboard navigation in context menus
This commit is contained in:
parent
991eb742b0
commit
5b2d6e41f3
20 changed files with 121 additions and 34 deletions
|
@ -8,9 +8,10 @@ path = "src/go_to_line.rs"
|
|||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
text = { path = "../text" }
|
||||
editor = { path = "../editor" }
|
||||
gpui = { path = "../gpui" }
|
||||
menu = { path = "../menu" }
|
||||
settings = { path = "../settings" }
|
||||
text = { path = "../text" }
|
||||
workspace = { path = "../workspace" }
|
||||
postage = { version = "0.4", features = ["futures-traits"] }
|
||||
|
|
|
@ -3,12 +3,10 @@ use gpui::{
|
|||
actions, elements::*, geometry::vector::Vector2F, Axis, Entity, MutableAppContext,
|
||||
RenderContext, View, ViewContext, ViewHandle,
|
||||
};
|
||||
use menu::{Cancel, Confirm};
|
||||
use settings::Settings;
|
||||
use text::{Bias, Point};
|
||||
use workspace::{
|
||||
menu::{Cancel, Confirm},
|
||||
Workspace,
|
||||
};
|
||||
use workspace::Workspace;
|
||||
|
||||
actions!(go_to_line, [Toggle]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue