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

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

Issue 15986003: DevTools: [CodeMirror] autocompletion for CodeMirrorTextEditor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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: Source/devtools/front_end/externs.js
diff --git a/Source/devtools/front_end/externs.js b/Source/devtools/front_end/externs.js
index 31e1faed8d9362712b250507fb354c453b78da38..d1bebe9cf0fc0dc3ceff284e7427511677869cf9 100644
--- a/Source/devtools/front_end/externs.js
+++ b/Source/devtools/front_end/externs.js
@@ -325,6 +325,7 @@ WebInspector.AceTextEditor = function(url, delegate) { }
/** @constructor */
var CodeMirror = function() { }
+CodeMirror.on = function(obj, type, handler) { }
CodeMirror.prototype = {
addKeyMap: function(map) { },
addLineClass: function(handle, where, cls) { },
@@ -425,6 +426,7 @@ CodeMirror.prototype = {
CodeMirror.prototype.lineCount;
CodeMirror.Pass;
CodeMirror.showHint = function(codeMirror, hintintFunction) { };
+CodeMirror.commands = {};
/** @constructor */
CodeMirror.Pos = function(line, ch) { }
« Source/devtools/front_end/JavaScriptSourceFrame.js ('K') | « Source/devtools/front_end/TextUtils.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698