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

Unified Diff: third_party/WebKit/Source/devtools/front_end/text_editor/TextEditorAutocompleteController.js

Issue 2331053002: DevTools: Implement the console prompt with CodeMirror (Closed)
Patch Set: Fix browser tests Created 4 years, 3 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
Index: third_party/WebKit/Source/devtools/front_end/text_editor/TextEditorAutocompleteController.js
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/TextEditorAutocompleteController.js b/third_party/WebKit/Source/devtools/front_end/text_editor/TextEditorAutocompleteController.js
index 4c7296ee1142dfaffb305e0059e5d937db600ff2..0689c346e721a1544344885f3b5cc82c6a41a786 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/TextEditorAutocompleteController.js
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/TextEditorAutocompleteController.js
@@ -257,7 +257,7 @@ WebInspector.TextEditorAutocompleteController.prototype = {
return;
}
if (!this._suggestBox)
- this._suggestBox = new WebInspector.SuggestBox(this, 6);
+ this._suggestBox = new WebInspector.SuggestBox(this, 6, this._config.captureEnter);
var oldPrefixRange = this._prefixRange;
this._prefixRange = prefixRange;

Powered by Google App Engine
This is Rietveld 408576698