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

Side by Side Diff: Source/devtools/front_end/externs.js

Issue 216973004: DevTools: roll CodeMirror to v4.0.3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: support autocomplete with multiselections Created 6 years, 8 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
« no previous file with comments | « Source/devtools/front_end/cm/matchbrackets.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 getLineNumber: function(line) { }, 343 getLineNumber: function(line) { },
344 getMode: function() { }, 344 getMode: function() { },
345 getOption: function(option) { }, 345 getOption: function(option) { },
346 getRange: function(from, to, lineSep) { }, 346 getRange: function(from, to, lineSep) { },
347 /** 347 /**
348 * @return {!{left: number, top: number, width: number, height: number, clie ntWidth: number, clientHeight: number}} 348 * @return {!{left: number, top: number, width: number, height: number, clie ntWidth: number, clientHeight: number}}
349 */ 349 */
350 getScrollInfo: function() { }, 350 getScrollInfo: function() { },
351 getScrollerElement: function() { }, 351 getScrollerElement: function() { },
352 getSelection: function() { }, 352 getSelection: function() { },
353 getSelections: function() { },
353 getStateAfter: function(line) { }, 354 getStateAfter: function(line) { },
354 getTokenAt: function(pos) { }, 355 getTokenAt: function(pos) { },
355 getValue: function(lineSep) { }, 356 getValue: function(lineSep) { },
356 getViewport: function() { }, 357 getViewport: function() { },
357 getWrapperElement: function() { }, 358 getWrapperElement: function() { },
358 hasFocus: function() { }, 359 hasFocus: function() { },
359 historySize: function() { }, 360 historySize: function() { },
360 indentLine: function(n, dir, aggressive) { }, 361 indentLine: function(n, dir, aggressive) { },
361 indentSelection: function(how) { }, 362 indentSelection: function(how) { },
362 indexFromPos: function(coords) { }, 363 indexFromPos: function(coords) { },
363 isClean: function() { }, 364 isClean: function() { },
364 iterLinkedDocs: function(f) { }, 365 iterLinkedDocs: function(f) { },
365 lastLine: function() { }, 366 lastLine: function() { },
366 lineCount: function() { }, 367 lineCount: function() { },
367 lineInfo: function(line) { }, 368 lineInfo: function(line) { },
368 /** 369 /**
369 * @param {number} height 370 * @param {number} height
370 * @param {string=} mode 371 * @param {string=} mode
371 */ 372 */
372 lineAtHeight: function(height, mode) { }, 373 lineAtHeight: function(height, mode) { },
373 linkedDoc: function(options) { }, 374 linkedDoc: function(options) { },
375 listSelections: function() { },
374 markClean: function() { }, 376 markClean: function() { },
375 markText: function(from, to, options) { }, 377 markText: function(from, to, options) { },
376 moveH: function(dir, unit) { }, 378 moveH: function(dir, unit) { },
377 moveV: function(dir, unit) { }, 379 moveV: function(dir, unit) { },
378 off: function(type, f) { }, 380 off: function(type, f) { },
379 on: function(type, f) { }, 381 on: function(type, f) { },
380 operation: function(f) { }, 382 operation: function(f) { },
381 posFromIndex: function(off) { }, 383 posFromIndex: function(off) { },
382 redo: function() { }, 384 redo: function() { },
383 refresh: function() { }, 385 refresh: function() { },
(...skipping 16 matching lines...) Expand all
400 setSelection: function(anchor, head) { }, 402 setSelection: function(anchor, head) { },
401 setSize: function(width, height) { }, 403 setSize: function(width, height) { },
402 setValue: function(code) { }, 404 setValue: function(code) { },
403 somethingSelected: function() { }, 405 somethingSelected: function() { },
404 swapDoc: function(doc) { }, 406 swapDoc: function(doc) { },
405 undo: function() { }, 407 undo: function() { },
406 unlinkDoc: function(other) { } 408 unlinkDoc: function(other) { }
407 } 409 }
408 /** @type {number} */ 410 /** @type {number} */
409 CodeMirror.prototype.lineCount; 411 CodeMirror.prototype.lineCount;
412 /** @type {!{cursorDiv: Element}} */
413 CodeMirror.prototype.display;
410 CodeMirror.Pass; 414 CodeMirror.Pass;
411 CodeMirror.showHint = function(codeMirror, hintintFunction) { }; 415 CodeMirror.showHint = function(codeMirror, hintintFunction) { };
412 CodeMirror.commands = {}; 416 CodeMirror.commands = {};
413 CodeMirror.modes = {}; 417 CodeMirror.modes = {};
414 CodeMirror.mimeModes = {}; 418 CodeMirror.mimeModes = {};
415 CodeMirror.getMode = function(options, spec) { }; 419 CodeMirror.getMode = function(options, spec) { };
416 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) { }; 420 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) { };
417 CodeMirror.defineMode = function(modeName, modeConstructor) { }; 421 CodeMirror.defineMode = function(modeName, modeConstructor) { };
418 CodeMirror.startState = function(mode) { }; 422 CodeMirror.startState = function(mode) { };
419 423
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 } 457 }
454 458
455 /** @type {Object.<string, !Object.<string, string>>} */ 459 /** @type {Object.<string, !Object.<string, string>>} */
456 CodeMirror.keyMap; 460 CodeMirror.keyMap;
457 461
458 /** @type {{scrollLeft: number, scrollTop: number}} */ 462 /** @type {{scrollLeft: number, scrollTop: number}} */
459 CodeMirror.doc; 463 CodeMirror.doc;
460 464
461 /** @type {boolean} */ 465 /** @type {boolean} */
462 window.dispatchStandaloneTestRunnerMessages; 466 window.dispatchStandaloneTestRunnerMessages;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/cm/matchbrackets.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698