Chromium Code Reviews| 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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 578 * @param {boolean=} caseInsensitive | 578 * @param {boolean=} caseInsensitive |
| 579 */ | 579 */ |
| 580 match: function(pattern, consume, caseInsensitive) { }, | 580 match: function(pattern, consume, caseInsensitive) { }, |
| 581 next: function() { }, | 581 next: function() { }, |
| 582 peek: function() { }, | 582 peek: function() { }, |
| 583 skipTo: function(ch) { }, | 583 skipTo: function(ch) { }, |
| 584 skipToEnd: function() { }, | 584 skipToEnd: function() { }, |
| 585 sol: function() { } | 585 sol: function() { } |
| 586 } | 586 } |
| 587 | 587 |
| 588 /** @constructor */ | |
| 589 CodeMirror.TextMarker = function(doc, type) { } | |
|
lushnikov
2016/07/13 21:21:53
shouldn't it have a "clear" method?
flandy
2016/07/13 23:02:45
Yes. Added
| |
| 590 | |
| 588 /** @type {Object.<string, !Object.<string, string>>} */ | 591 /** @type {Object.<string, !Object.<string, string>>} */ |
| 589 CodeMirror.keyMap; | 592 CodeMirror.keyMap; |
| 590 | 593 |
| 591 /** @type {{scrollLeft: number, scrollTop: number}} */ | 594 /** @type {{scrollLeft: number, scrollTop: number}} */ |
| 592 CodeMirror.doc; | 595 CodeMirror.doc; |
| 593 | 596 |
| 594 /** @type {boolean} */ | 597 /** @type {boolean} */ |
| 595 window.dispatchStandaloneTestRunnerMessages; | 598 window.dispatchStandaloneTestRunnerMessages; |
| 596 | 599 |
| 597 /** | 600 /** |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 744 this.type; | 747 this.type; |
| 745 /** @type {string} */ | 748 /** @type {string} */ |
| 746 this.syntax; | 749 this.syntax; |
| 747 /** @type {!Gonzales.Location} */ | 750 /** @type {!Gonzales.Location} */ |
| 748 this.start; | 751 this.start; |
| 749 /** @type {!Gonzales.Location} */ | 752 /** @type {!Gonzales.Location} */ |
| 750 this.end; | 753 this.end; |
| 751 /** @type {(string|!Array<!Gonzales.Node>)} */ | 754 /** @type {(string|!Array<!Gonzales.Node>)} */ |
| 752 this.content; | 755 this.content; |
| 753 } | 756 } |
| OLD | NEW |