OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescriptorsFo
rAction("debugger.step-out"), WebInspector.UIString("Step out")); | 251 section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescriptorsFo
rAction("debugger.step-out"), WebInspector.UIString("Step out")); |
252 if (Runtime.experiments.isEnabled("stepIntoAsync")) | 252 if (Runtime.experiments.isEnabled("stepIntoAsync")) |
253 section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescripto
rsForAction("debugger.step-into"), WebInspector.UIString("Step into")); | 253 section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescripto
rsForAction("debugger.step-into"), WebInspector.UIString("Step into")); |
254 | 254 |
255 var nextAndPrevFrameKeys = WebInspector.ShortcutsScreen.SourcesPanelShortcut
s.NextCallFrame.concat(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.PrevCa
llFrame); | 255 var nextAndPrevFrameKeys = WebInspector.ShortcutsScreen.SourcesPanelShortcut
s.NextCallFrame.concat(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.PrevCa
llFrame); |
256 section.addRelatedKeys(nextAndPrevFrameKeys, WebInspector.UIString("Next/pre
vious call frame")); | 256 section.addRelatedKeys(nextAndPrevFrameKeys, WebInspector.UIString("Next/pre
vious call frame")); |
257 | 257 |
258 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
EvaluateSelectionInConsole, WebInspector.UIString("Evaluate selection in console
")); | 258 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
EvaluateSelectionInConsole, WebInspector.UIString("Evaluate selection in console
")); |
259 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
AddSelectionToWatch, WebInspector.UIString("Add selection to watch")); | 259 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
AddSelectionToWatch, WebInspector.UIString("Add selection to watch")); |
260 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); | 260 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); |
| 261 section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescriptorsFo
rAction("debugger.toggle-breakpoints-active"), WebInspector.UIString("Toggle all
breakpoints")); |
261 | 262 |
262 // Editing | 263 // Editing |
263 section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Text E
ditor")); | 264 section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Text E
ditor")); |
264 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToMember, WebInspector.UIString("Go to member")); | 265 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToMember, WebInspector.UIString("Go to member")); |
265 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleAutocompletion, WebInspector.UIString("Autocompletion")); | 266 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleAutocompletion, WebInspector.UIString("Autocompletion")); |
266 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToLine, WebInspector.UIString("Go to line")); | 267 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToLine, WebInspector.UIString("Go to line")); |
267 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location
")); | 268 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location
")); |
268 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
JumpToNextLocation, WebInspector.UIString("Jump to next editing location")); | 269 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
JumpToNextLocation, WebInspector.UIString("Jump to next editing location")); |
269 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleComment, WebInspector.UIString("Toggle comment")); | 270 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleComment, WebInspector.UIString("Toggle comment")); |
270 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1")); | 271 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1")); |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 Left: [ | 502 Left: [ |
502 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Left), | 503 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Left), |
503 WebInspector.KeyboardShortcut.makeDescriptor("a") | 504 WebInspector.KeyboardShortcut.makeDescriptor("a") |
504 ], | 505 ], |
505 | 506 |
506 Right: [ | 507 Right: [ |
507 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Right), | 508 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Right), |
508 WebInspector.KeyboardShortcut.makeDescriptor("d") | 509 WebInspector.KeyboardShortcut.makeDescriptor("d") |
509 ] | 510 ] |
510 } | 511 } |
OLD | NEW |