Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1158)

Unified Diff: Source/devtools/front_end/SourcesPanelDescriptor.js

Issue 23474010: DevTools: "Jump between editing locations" experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline this patch Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/SourcesPanel.js ('k') | Source/devtools/front_end/TabbedEditorContainer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourcesPanelDescriptor.js
diff --git a/Source/devtools/front_end/SourcesPanelDescriptor.js b/Source/devtools/front_end/SourcesPanelDescriptor.js
index 1e7dc4186a816a482d1a33280a4022819a554a92..c3e59d7569a2296ebdbea53b7e8eba5fe9835ec8 100644
--- a/Source/devtools/front_end/SourcesPanelDescriptor.js
+++ b/Source/devtools/front_end/SourcesPanelDescriptor.js
@@ -80,6 +80,8 @@ WebInspector.SourcesPanelDescriptor.prototype = {
section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKeys.DecreaseCSSUnitByOne, WebInspector.UIString("Decrement CSS unit by 1"));
section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKeys.IncreaseCSSUnitByTen, WebInspector.UIString("Increment CSS unit by 10"));
section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKeys.DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10"));
+ section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKeys.JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location"));
+ section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKeys.JumpToNextLocation, WebInspector.UIString("Jump to next editing location"));
}
}
@@ -155,5 +157,13 @@ WebInspector.SourcesPanelDescriptor.ShortcutKeys = {
ToggleComment: [
WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Slash, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta)
- ]
+ ],
+
+ JumpToPreviousLocation: [
+ WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Minus, WebInspector.KeyboardShortcut.Modifiers.Alt)
+ ],
+
+ JumpToNextLocation: [
+ WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortcut.Keys.Plus, WebInspector.KeyboardShortcut.Modifiers.Alt)
+ ],
};
« no previous file with comments | « Source/devtools/front_end/SourcesPanel.js ('k') | Source/devtools/front_end/TabbedEditorContainer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698