зеркало из https://github.com/mozilla/gecko-dev.git
Bug 957072 - Add Pretty Print to Scratchpad Menu. r=robcee
This commit is contained in:
Родитель
ecf57d3473
Коммит
65e182bee3
|
@ -191,6 +191,11 @@
|
|||
accesskey="&gotoLineCmd.accesskey;"
|
||||
key="key_gotoLine"
|
||||
command="cmd_gotoLine"/>
|
||||
<menuitem id="sp-menu-pprint"
|
||||
label="&pprint.label;"
|
||||
accesskey="&pprint.accesskey;"
|
||||
key="sp-key-pprint"
|
||||
command="sp-cmd-pprint"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ function runTests()
|
|||
"sp-text-reloadAndRun" : "reloadAndRun",
|
||||
"sp-menu-content": "setContentContext",
|
||||
"sp-menu-browser": "setBrowserContext",
|
||||
"sp-menu-pprint":"prettyPrint",
|
||||
};
|
||||
|
||||
let lastMethodCalled = null;
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
|
||||
<!ENTITY pprint.label "Pretty Print">
|
||||
<!ENTITY pprint.key "p">
|
||||
<!ENTITY pprint.accesskey "P">
|
||||
|
||||
<!-- LOCALIZATION NOTE (environmentMenu.label, accesskey): This menu item was
|
||||
- renamed from "Context" to avoid confusion with the right-click context
|
||||
|
|
Загрузка…
Ссылка в новой задаче