Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Add Look Up for selected text in input fields
Browse files Browse the repository at this point in the history
Fixes #6536
  • Loading branch information
Liunkae authored and bsclifton committed Jan 23, 2017
1 parent 4662735 commit 47e4a22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/contextMenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,9 @@ function mainTemplateInit (nodeProps, frame) {
}

if (isTextSelected) {
if (isDarwin) {
template.push(showDefinitionMenuItem(nodeProps.selectionText), CommonMenu.separatorMenuItem)
}
template.push(searchSelectionMenuItem(nodeProps.selectionText), CommonMenu.separatorMenuItem)
}
} else if (isTextSelected) {
Expand Down

0 comments on commit 47e4a22

Please sign in to comment.