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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2474143002: DevTools: Rename prefix to query in the context of autocomplete (Closed)
Patch Set: merge Created 4 years, 1 month 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
Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
index 27c153a377729c92f35c711195284c911b863267..d1794efc559a795dc3afa70609e4f3d1032c498b 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
@@ -754,8 +754,11 @@ WebInspector.ConsoleView = class extends WebInspector.VBox {
}
section.addAlternateKeys(keys, WebInspector.UIString('Clear console'));
- section.addKey(shortcut.makeDescriptor(shortcut.Keys.Tab), WebInspector.UIString('Autocomplete common prefix'));
einbinder 2016/11/03 17:59:06 We haven't had this functionality for a long time.
- section.addKey(shortcut.makeDescriptor(shortcut.Keys.Right), WebInspector.UIString('Accept suggestion'));
+ keys = [
+ shortcut.makeDescriptor(shortcut.Keys.Tab),
+ shortcut.makeDescriptor(shortcut.Keys.Right)
+ ];
+ section.addRelatedKeys(keys, WebInspector.UIString('Accept suggestion'));
var shortcutU = shortcut.makeDescriptor('u', WebInspector.KeyboardShortcut.Modifiers.Ctrl);
this._shortcuts[shortcutU.key] = this._clearPromptBackwards.bind(this);

Powered by Google App Engine
This is Rietveld 408576698