OLD | NEW |
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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 defaultCharWidth: function() { }, | 401 defaultCharWidth: function() { }, |
402 defaultTextHeight: function() { }, | 402 defaultTextHeight: function() { }, |
403 deleteH: function(dir, unit) { }, | 403 deleteH: function(dir, unit) { }, |
404 /** | 404 /** |
405 * @param {*=} to | 405 * @param {*=} to |
406 * @param {*=} op | 406 * @param {*=} op |
407 */ | 407 */ |
408 eachLine: function(from, to, op) { }, | 408 eachLine: function(from, to, op) { }, |
409 execCommand: function(cmd) { }, | 409 execCommand: function(cmd) { }, |
410 extendSelection: function(from, to) { }, | 410 extendSelection: function(from, to) { }, |
| 411 findMarks: function(from, to) { }, |
411 findMarksAt: function(pos) { }, | 412 findMarksAt: function(pos) { }, |
412 /** | 413 /** |
413 * @param {!CodeMirror.Pos} from | 414 * @param {!CodeMirror.Pos} from |
414 * @param {boolean=} strict | 415 * @param {boolean=} strict |
415 * @param {Object=} config | 416 * @param {Object=} config |
416 */ | 417 */ |
417 findMatchingBracket: function(from, strict, config) { }, | 418 findMatchingBracket: function(from, strict, config) { }, |
418 findPosH: function(from, amount, unit, visually) { }, | 419 findPosH: function(from, amount, unit, visually) { }, |
419 findPosV: function(from, amount, unit, goalColumn) { }, | 420 findPosV: function(from, amount, unit, goalColumn) { }, |
420 firstLine: function() { }, | 421 firstLine: function() { }, |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 next: function() { }, | 582 next: function() { }, |
582 peek: function() { }, | 583 peek: function() { }, |
583 skipTo: function(ch) { }, | 584 skipTo: function(ch) { }, |
584 skipToEnd: function() { }, | 585 skipToEnd: function() { }, |
585 sol: function() { } | 586 sol: function() { } |
586 } | 587 } |
587 | 588 |
588 /** @constructor */ | 589 /** @constructor */ |
589 CodeMirror.TextMarker = function(doc, type) { } | 590 CodeMirror.TextMarker = function(doc, type) { } |
590 CodeMirror.TextMarker.prototype = { | 591 CodeMirror.TextMarker.prototype = { |
591 clear: function() { } | 592 clear: function() { }, |
| 593 find: function() { } |
592 } | 594 } |
593 | 595 |
594 /** @type {Object.<string, !Object.<string, string>>} */ | 596 /** @type {Object.<string, !Object.<string, string>>} */ |
595 CodeMirror.keyMap; | 597 CodeMirror.keyMap; |
596 | 598 |
597 /** @type {{scrollLeft: number, scrollTop: number}} */ | 599 /** @type {{scrollLeft: number, scrollTop: number}} */ |
598 CodeMirror.doc; | 600 CodeMirror.doc; |
599 | 601 |
600 /** @type {boolean} */ | 602 /** @type {boolean} */ |
601 window.dispatchStandaloneTestRunnerMessages; | 603 window.dispatchStandaloneTestRunnerMessages; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 /** @type {(string|!Array<!Gonzales.Node>)} */ | 759 /** @type {(string|!Array<!Gonzales.Node>)} */ |
758 this.content; | 760 this.content; |
759 } | 761 } |
760 | 762 |
761 /** | 763 /** |
762 * @type {string} | 764 * @type {string} |
763 * @see http://heycam.github.io/webidl/#es-DOMException-prototype-object | 765 * @see http://heycam.github.io/webidl/#es-DOMException-prototype-object |
764 * TODO(jsbell): DOMException should be a subclass of Error. | 766 * TODO(jsbell): DOMException should be a subclass of Error. |
765 */ | 767 */ |
766 DOMException.prototype.message; | 768 DOMException.prototype.message; |
OLD | NEW |