Fix bug 892286 - Cmd+L / Ctrl+L should be go to line. r=robcee

This commit is contained in:
Nick Fitzgerald 2013-08-01 10:55:39 +02:00
parent fdc6430862
commit 2c317e4266
4 changed files with 8 additions and 8 deletions

View File

@ -757,7 +757,7 @@ FilterView.prototype = {
this._tokenOperatorLabel.setAttribute("value", this._tokenOperatorLabel.setAttribute("value",
L10N.getFormatStr("searchPanelToken", this._tokenSearchKey)); L10N.getFormatStr("searchPanelToken", this._tokenSearchKey));
this._lineOperatorLabel.setAttribute("value", this._lineOperatorLabel.setAttribute("value",
L10N.getFormatStr("searchPanelLine", this._lineSearchKey)); L10N.getFormatStr("searchPanelGoToLine", this._lineSearchKey));
this._variableOperatorLabel.setAttribute("value", this._variableOperatorLabel.setAttribute("value",
L10N.getFormatStr("searchPanelVariable", this._variableSearchKey)); L10N.getFormatStr("searchPanelVariable", this._variableSearchKey));

View File

@ -122,8 +122,8 @@
key="tokenSearchKey" key="tokenSearchKey"
command="tokenSearchCommand"/> command="tokenSearchCommand"/>
<menuitem id="se-dbg-cMenu-findLine" <menuitem id="se-dbg-cMenu-findLine"
label="&debuggerUI.searchLine;" label="&debuggerUI.searchGoToLine;"
accesskey="&debuggerUI.searchLine.key;" accesskey="&debuggerUI.searchGoToLine.key;"
key="lineSearchKey" key="lineSearchKey"
command="lineSearchCommand"/> command="lineSearchCommand"/>
<menuseparator/> <menuseparator/>
@ -226,7 +226,7 @@
modifiers="accel" modifiers="accel"
command="tokenSearchCommand"/> command="tokenSearchCommand"/>
<key id="lineSearchKey" <key id="lineSearchKey"
key="&debuggerUI.searchLine.key;" key="&debuggerUI.searchGoToLine.key;"
modifiers="accel" modifiers="accel"
command="lineSearchCommand"/> command="lineSearchCommand"/>
<key id="variableSearchKey" <key id="variableSearchKey"

View File

@ -88,8 +88,8 @@
<!-- LOCALIZATION NOTE (debuggerUI.searchLine): This is the text that appears <!-- LOCALIZATION NOTE (debuggerUI.searchLine): This is the text that appears
- in the source editor's context menu for the line search operation. --> - in the source editor's context menu for the line search operation. -->
<!ENTITY debuggerUI.searchLine "Jump to line…"> <!ENTITY debuggerUI.searchGoToLine "Go to line…">
<!ENTITY debuggerUI.searchLine.key "J"> <!ENTITY debuggerUI.searchGoToLine.key "L">
<!-- LOCALIZATION NOTE (debuggerUI.searchVariable): This is the text that appears <!-- LOCALIZATION NOTE (debuggerUI.searchVariable): This is the text that appears
- in the source editor's context menu for the variables search operation. --> - in the source editor's context menu for the variables search operation. -->

View File

@ -107,9 +107,9 @@ searchPanelFunction=Search for function definition (%S)
# filter panel popup for the token search operation. # filter panel popup for the token search operation.
searchPanelToken=Find in this file (%S) searchPanelToken=Find in this file (%S)
# LOCALIZATION NOTE (searchPanelLine): This is the text that appears in the # LOCALIZATION NOTE (searchPanelGoToLine): This is the text that appears in the
# filter panel popup for the line search operation. # filter panel popup for the line search operation.
searchPanelLine=Jump to line (%S) searchPanelGoToLine=Go to line (%S)
# LOCALIZATION NOTE (searchPanelVariable): This is the text that appears in the # LOCALIZATION NOTE (searchPanelVariable): This is the text that appears in the
# filter panel popup for the variables search operation. # filter panel popup for the variables search operation.