| 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 /** @type {number} */ | 550 /** @type {number} */ |
| 551 CodeMirror.Pos.prototype.ch; | 551 CodeMirror.Pos.prototype.ch; |
| 552 | 552 |
| 553 /** | 553 /** |
| 554 * @param {!CodeMirror.Pos} pos1 | 554 * @param {!CodeMirror.Pos} pos1 |
| 555 * @param {!CodeMirror.Pos} pos2 | 555 * @param {!CodeMirror.Pos} pos2 |
| 556 * @return {number} | 556 * @return {number} |
| 557 */ | 557 */ |
| 558 CodeMirror.cmpPos = function(pos1, pos2) {}; | 558 CodeMirror.cmpPos = function(pos1, pos2) {}; |
| 559 | 559 |
| 560 /** |
| 561 * @param {string} mode |
| 562 * @param {?} definition |
| 563 */ |
| 564 CodeMirror.defineSimpleMode = function(mode, definition) {}; |
| 565 |
| 560 /** @constructor */ | 566 /** @constructor */ |
| 561 CodeMirror.StringStream = function(line) { | 567 CodeMirror.StringStream = function(line) { |
| 562 this.pos = 0; | 568 this.pos = 0; |
| 563 this.start = 0; | 569 this.start = 0; |
| 564 }; | 570 }; |
| 565 CodeMirror.StringStream.prototype = { | 571 CodeMirror.StringStream.prototype = { |
| 566 backUp: function(n) {}, | 572 backUp: function(n) {}, |
| 567 column: function() {}, | 573 column: function() {}, |
| 568 current: function() {}, | 574 current: function() {}, |
| 569 eat: function(match) {}, | 575 eat: function(match) {}, |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 var Terminal = function(params) {}; | 808 var Terminal = function(params) {}; |
| 803 | 809 |
| 804 Terminal.prototype = { | 810 Terminal.prototype = { |
| 805 fit: function() {}, | 811 fit: function() {}, |
| 806 linkify: function() {}, | 812 linkify: function() {}, |
| 807 /** @param {!Element} element */ | 813 /** @param {!Element} element */ |
| 808 open: function(element) {}, | 814 open: function(element) {}, |
| 809 /** @param {string} eventName * @param {!Function} handler */ | 815 /** @param {string} eventName * @param {!Function} handler */ |
| 810 on: function(eventName, handler) {} | 816 on: function(eventName, handler) {} |
| 811 }; | 817 }; |
| OLD | NEW |