Detailed changes
@@ -208,7 +208,7 @@ impl ChannelView {
editor.set_custom_context_menu(move |_, position, window, cx| {
let this = this.clone();
Some(ui::ContextMenu::build(window, cx, move |menu, _, _| {
- menu.entry("Copy link to section", None, move |window, cx| {
+ menu.entry("Copy Link to Section", None, move |window, cx| {
this.update(cx, |this, cx| {
this.copy_link_for_position(position, window, cx)
})
@@ -8898,7 +8898,7 @@ impl Editor {
.context(focus_handle)
.when(run_to_cursor, |this| {
let weak_editor = weak_editor.clone();
- this.entry("Run to cursor", None, move |window, cx| {
+ this.entry("Run to Cursor", None, move |window, cx| {
weak_editor
.update(cx, |editor, cx| {
editor.change_selections(
@@ -400,13 +400,13 @@ fn deploy_blame_entry_context_menu(
let context_menu = ContextMenu::build(window, cx, move |menu, _, _| {
let sha = format!("{}", blame_entry.sha);
menu.on_blur_subscription(Subscription::new(|| {}))
- .entry("Copy commit SHA", None, move |_, cx| {
+ .entry("Copy Commit SHA", None, move |_, cx| {
cx.write_to_clipboard(ClipboardItem::new_string(sha.clone()));
})
.when_some(
details.and_then(|details| details.permalink.clone()),
|this, url| {
- this.entry("Open permalink", None, move |_, cx| {
+ this.entry("Open Permalink", None, move |_, cx| {
cx.open_url(url.as_str())
})
},
@@ -1176,7 +1176,7 @@ impl ProjectPanel {
})
.when(should_show_compare, |menu| {
menu.separator()
- .action("Compare marked files", Box::new(CompareMarkedFiles))
+ .action("Compare Marked Files", Box::new(CompareMarkedFiles))
})
.separator()
.action("Cut", Box::new(Cut))