| 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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 /** @type {number} */ | 494 /** @type {number} */ |
| 495 CodeMirror.prototype.lineCount; | 495 CodeMirror.prototype.lineCount; |
| 496 CodeMirror.Pass; | 496 CodeMirror.Pass; |
| 497 CodeMirror.showHint = function(codeMirror, hintintFunction) { }; | 497 CodeMirror.showHint = function(codeMirror, hintintFunction) { }; |
| 498 CodeMirror.commands = {}; | 498 CodeMirror.commands = {}; |
| 499 CodeMirror.modes = {}; | 499 CodeMirror.modes = {}; |
| 500 CodeMirror.mimeModes = {}; | 500 CodeMirror.mimeModes = {}; |
| 501 CodeMirror.getMode = function(options, spec) { }; | 501 CodeMirror.getMode = function(options, spec) { }; |
| 502 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) { }; | 502 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) { }; |
| 503 CodeMirror.defineMode = function(modeName, modeConstructor) { }; | 503 CodeMirror.defineMode = function(modeName, modeConstructor) { }; |
| 504 CodeMirror.startState = function(mode) { }; |
| 504 | 505 |
| 505 /** @constructor */ | 506 /** @constructor */ |
| 506 CodeMirror.Pos = function(line, ch) { } | 507 CodeMirror.Pos = function(line, ch) { } |
| 507 /** type {number} */ | 508 /** type {number} */ |
| 508 CodeMirror.Pos.prototype.line; | 509 CodeMirror.Pos.prototype.line; |
| 509 /** type {number} */ | 510 /** type {number} */ |
| 510 CodeMirror.Pos.prototype.ch; | 511 CodeMirror.Pos.prototype.ch; |
| 511 | 512 |
| 512 /** @constructor */ | 513 /** @constructor */ |
| 513 CodeMirror.StringStream = function() { } | 514 CodeMirror.StringStream = function(line) { |
| 515 this.pos = 0; |
| 516 this.start = 0; |
| 517 } |
| 514 CodeMirror.StringStream.prototype = { | 518 CodeMirror.StringStream.prototype = { |
| 515 backUp: function (n) { }, | 519 backUp: function (n) { }, |
| 516 column: function () { }, | 520 column: function () { }, |
| 517 current: function () { }, | 521 current: function () { }, |
| 518 eat: function (match) { }, | 522 eat: function (match) { }, |
| 519 eatSpace: function () { }, | 523 eatSpace: function () { }, |
| 520 eatWhile: function (match) { }, | 524 eatWhile: function (match) { }, |
| 521 eol: function () { }, | 525 eol: function () { }, |
| 522 indentation: function () { }, | 526 indentation: function () { }, |
| 523 /** | 527 /** |
| (...skipping 17 matching lines...) Expand all Loading... |
| 541 | 545 |
| 542 WebInspector.settings.continuousPainting = /** type {WebInspector.Setting} */ {
} | 546 WebInspector.settings.continuousPainting = /** type {WebInspector.Setting} */ {
} |
| 543 WebInspector.settings.showDebugBorders = /** type {WebInspector.Setting} */ { } | 547 WebInspector.settings.showDebugBorders = /** type {WebInspector.Setting} */ { } |
| 544 WebInspector.settings.showScrollBottleneckRects = /** type {WebInspector.Setting
} */ { } | 548 WebInspector.settings.showScrollBottleneckRects = /** type {WebInspector.Setting
} */ { } |
| 545 WebInspector.settings.forceCompositingMode = /** type {WebInspector.Setting} */
{ } | 549 WebInspector.settings.forceCompositingMode = /** type {WebInspector.Setting} */
{ } |
| 546 WebInspector.settings.showFPSCounter = /** type {WebInspector.Setting} */ { } | 550 WebInspector.settings.showFPSCounter = /** type {WebInspector.Setting} */ { } |
| 547 WebInspector.settings.showPaintRects = /** type {WebInspector.Setting} */ { } | 551 WebInspector.settings.showPaintRects = /** type {WebInspector.Setting} */ { } |
| 548 | 552 |
| 549 /** @type {boolean} */ | 553 /** @type {boolean} */ |
| 550 window.dispatchStandaloneTestRunnerMessages; | 554 window.dispatchStandaloneTestRunnerMessages; |
| OLD | NEW |