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

Specify the ids of the jump and the add-watch-expression menuitems #4674

Merged
merged 1 commit into from
Nov 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/Editor/EditorMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ function getMenuItems(
: L10N.getStr("original");

const jumpLabel = {
id: "node-menu-jump",
accesskey: L10N.getStr("editor.jumpToMappedLocation1.accesskey"),
disabled: false,
label: L10N.getFormatStr("editor.jumpToMappedLocation1", pairedType),
click: () => jumpToMappedLocation(sourceLocation)
};

const watchExpressionLabel = {
id: "node-menu-add-watch-expression",
accesskey: L10N.getStr("expressions.accesskey"),
label: L10N.getStr("expressions.label"),
click: () => addExpression(editor.codeMirror.getSelection())
Expand Down