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

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

Issue 2478923003: DevTools: Distinguish between forced and unforced autocomplete in CMTE (Closed)
Patch Set: 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/text_editor/CodeMirrorTextEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
index 94f04e5084a47a595ee29e3fbaceb8fde38490af..7a21d2074e4aa56afc68dd414cb906d862de6d29 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
@@ -176,7 +176,7 @@ WebInspector.CodeMirrorTextEditor = class extends WebInspector.VBox {
static autocompleteCommand(codeMirror) {
var autocompleteController = codeMirror._codeMirrorTextEditor._autocompleteController;
if (autocompleteController)
- autocompleteController.autocomplete();
+ autocompleteController.autocomplete(true);
}
/**

Powered by Google App Engine
This is Rietveld 408576698