Commit 71e508b9 authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

[Mac] Add two missing key equivalents in Edit>Find.

"Use Selection for Find" = Cmd+E
"Jump to Selection" = Cmd+J

Bug: 868405
Change-Id: I83a6e7fdecb21b5d9e0aabd2ecb8fc4483d7a273
Reviewed-on: https://chromium-review.googlesource.com/1153142Reviewed-by: default avatarErik Chen <erikchen@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578820}
parent 9db0a14b
...@@ -160,9 +160,11 @@ base::scoped_nsobject<NSMenuItem> BuildEditMenu(NSApplication* nsapp, ...@@ -160,9 +160,11 @@ base::scoped_nsobject<NSMenuItem> BuildEditMenu(NSApplication* nsapp,
Item(IDS_EDIT_FIND_PREVIOUS_MAC) Item(IDS_EDIT_FIND_PREVIOUS_MAC)
.command_id(IDC_FIND_PREVIOUS), .command_id(IDC_FIND_PREVIOUS),
Item(IDS_EDIT_USE_SELECTION_MAC) Item(IDS_EDIT_USE_SELECTION_MAC)
.action(@selector(copyToFindPboard:)), .action(@selector(copyToFindPboard:))
.key_equivalent(@"e", NSEventModifierFlagCommand),
Item(IDS_EDIT_JUMP_TO_SELECTION_MAC) Item(IDS_EDIT_JUMP_TO_SELECTION_MAC)
.action(@selector(centerSelectionInVisibleArea:)), .action(@selector(centerSelectionInVisibleArea:))
.key_equivalent(@"j", NSEventModifierFlagCommand),
}), }),
Item(IDS_EDIT_SPELLING_GRAMMAR_MAC) Item(IDS_EDIT_SPELLING_GRAMMAR_MAC)
.tag(IDC_SPELLCHECK_MENU) .tag(IDC_SPELLCHECK_MENU)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment