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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 difflib.stringAsLines = function(text) { return []; } 318 difflib.stringAsLines = function(text) { return []; }
319 /** @constructor */ 319 /** @constructor */
320 difflib.SequenceMatcher = function(baseText, newText) { } 320 difflib.SequenceMatcher = function(baseText, newText) { }
321 difflib.SequenceMatcher.prototype.get_opcodes = function() { return []; } 321 difflib.SequenceMatcher.prototype.get_opcodes = function() { return []; }
322 322
323 /** @constructor */ 323 /** @constructor */
324 WebInspector.AceTextEditor = function(url, delegate) { } 324 WebInspector.AceTextEditor = function(url, delegate) { }
325 325
326 /** @constructor */ 326 /** @constructor */
327 var CodeMirror = function() { } 327 var CodeMirror = function() { }
328 CodeMirror.on = function(obj, type, handler) { }
328 CodeMirror.prototype = { 329 CodeMirror.prototype = {
329 addKeyMap: function(map) { }, 330 addKeyMap: function(map) { },
330 addLineClass: function(handle, where, cls) { }, 331 addLineClass: function(handle, where, cls) { },
331 addLineWidget: function(handle, node, options) { }, 332 addLineWidget: function(handle, node, options) { },
332 /** 333 /**
333 * @param {string|Object} spec 334 * @param {string|Object} spec
334 * @param {Object=} options 335 * @param {Object=} options
335 */ 336 */
336 addOverlay: function(spec, options) { }, 337 addOverlay: function(spec, options) { },
337 addWidget: function(pos, node, scroll, vert, horiz) { }, 338 addWidget: function(pos, node, scroll, vert, horiz) { },
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 setValue: function(code) { }, 419 setValue: function(code) { },
419 somethingSelected: function() { }, 420 somethingSelected: function() { },
420 swapDoc: function(doc) { }, 421 swapDoc: function(doc) { },
421 undo: function() { }, 422 undo: function() { },
422 unlinkDoc: function(other) { } 423 unlinkDoc: function(other) { }
423 } 424 }
424 /** @type {number} */ 425 /** @type {number} */
425 CodeMirror.prototype.lineCount; 426 CodeMirror.prototype.lineCount;
426 CodeMirror.Pass; 427 CodeMirror.Pass;
427 CodeMirror.showHint = function(codeMirror, hintintFunction) { }; 428 CodeMirror.showHint = function(codeMirror, hintintFunction) { };
429 CodeMirror.commands = {};
428 430
429 /** @constructor */ 431 /** @constructor */
430 CodeMirror.Pos = function(line, ch) { } 432 CodeMirror.Pos = function(line, ch) { }
431 /** type {number} */ 433 /** type {number} */
432 CodeMirror.Pos.prototype.line; 434 CodeMirror.Pos.prototype.line;
433 /** type {number} */ 435 /** type {number} */
434 CodeMirror.Pos.prototype.ch; 436 CodeMirror.Pos.prototype.ch;
435 437
436 /** @constructor */ 438 /** @constructor */
437 CodeMirror.StringStream = function() { } 439 CodeMirror.StringStream = function() { }
(...skipping 17 matching lines...) Expand all
455 skipTo: function (ch) { }, 457 skipTo: function (ch) { },
456 skipToEnd: function () { }, 458 skipToEnd: function () { },
457 sol: function () { } 459 sol: function () { }
458 } 460 }
459 461
460 WebInspector.suggestReload = function() { } 462 WebInspector.suggestReload = function() { }
461 WebInspector.reload = function() { } 463 WebInspector.reload = function() { }
462 464
463 /** @type {boolean} */ 465 /** @type {boolean} */
464 window.dispatchStandaloneTestRunnerMessages; 466 window.dispatchStandaloneTestRunnerMessages;
OLDNEW
« 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