diff --git a/src/forms/mod.rs b/src/forms/mod.rs index 83ca20b..ecbe1df 100644 --- a/src/forms/mod.rs +++ b/src/forms/mod.rs @@ -116,8 +116,8 @@ pub use switch::Switch; pub(crate) use syntax::{Syntax, syntax_fenced, syntax_of}; pub use tags::TagInput; pub(crate) use text::{ - Backspace, Copy, Cut, Delete, DeleteWordLeft, Down, Enter, Paste, Redo, Submit, Undo, Up, - bind_keys, from_utf16, to_utf16, + Backspace, Copy, Cut, Delete, DeleteWordLeft, Down, Enter, Left, Paste, Redo, Right, Submit, + Undo, Up, bind_keys, from_utf16, to_utf16, }; pub use text::{Highlight, History, InputEvent, TextInput}; pub use transfer::TransferList; diff --git a/src/forms/text/mod.rs b/src/forms/text/mod.rs index 6f09452..e08f077 100644 --- a/src/forms/text/mod.rs +++ b/src/forms/text/mod.rs @@ -13,8 +13,8 @@ use gpui::{ }; pub(crate) use actions::{ - Backspace, Copy, Cut, Delete, DeleteWordLeft, Down, Enter, Paste, Redo, Submit, Undo, Up, - bind_keys, + Backspace, Copy, Cut, Delete, DeleteWordLeft, Down, Enter, Left, Paste, Redo, Right, Submit, + Undo, Up, bind_keys, }; pub use edit::History; use edit::Snapshot; diff --git a/src/menus/draw.rs b/src/menus/draw.rs index 8f59a47..cdf3918 100644 --- a/src/menus/draw.rs +++ b/src/menus/draw.rs @@ -9,6 +9,7 @@ use super::{ }; use crate::{ forms::{Run, surface}, + i18n, navigation::marked, primitives::{Icon, IconName, Tooltip}, theme::{ActiveTheme, ControlSize, IconSize, Radius, TextSize}, @@ -83,7 +84,13 @@ fn row(item: &MenuItem, ix: usize, current: bool, cx: &App) -> Stateful