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.

Add more selection options to app menus (#39262)

Enger Jimeneze42dfb438715
diff --git a/crates/zed/src/zed/app_menus.rs b/crates/zed/src/zed/app_menus.rs
index 00bde74928b..d50260c706c 100644
--- a/crates/zed/src/zed/app_menus.rs
+++ b/crates/zed/src/zed/app_menus.rs
@@ -142,6 +142,13 @@ pub fn app_menus() -> Vec<Menu> {
replace_newest: false,
},
),
+ MenuItem::action(
+ "Select Previous Occurrence",
+ editor::actions::SelectPrevious {
+ replace_newest: false,
+ },
+ ),
+ MenuItem::action("Select All Occurrences", editor::actions::SelectAllMatches),
MenuItem::separator(),
MenuItem::action("Move Line Up", editor::actions::MoveLineUp),
MenuItem::action("Move Line Down", editor::actions::MoveLineDown),