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 { |
| 516 this.pos = 0; |
| 517 this.start = 0; |
| 518 } |
514 CodeMirror.StringStream.prototype = { | 519 CodeMirror.StringStream.prototype = { |
515 backUp: function (n) { }, | 520 backUp: function (n) { }, |
516 column: function () { }, | 521 column: function () { }, |
517 current: function () { }, | 522 current: function () { }, |
518 eat: function (match) { }, | 523 eat: function (match) { }, |
519 eatSpace: function () { }, | 524 eatSpace: function () { }, |
520 eatWhile: function (match) { }, | 525 eatWhile: function (match) { }, |
521 eol: function () { }, | 526 eol: function () { }, |
522 indentation: function () { }, | 527 indentation: function () { }, |
523 /** | 528 /** |
(...skipping 17 matching lines...) Expand all Loading... |
541 | 546 |
542 WebInspector.settings.continuousPainting = /** type {WebInspector.Setting} */ {
} | 547 WebInspector.settings.continuousPainting = /** type {WebInspector.Setting} */ {
} |
543 WebInspector.settings.showDebugBorders = /** type {WebInspector.Setting} */ { } | 548 WebInspector.settings.showDebugBorders = /** type {WebInspector.Setting} */ { } |
544 WebInspector.settings.showScrollBottleneckRects = /** type {WebInspector.Setting
} */ { } | 549 WebInspector.settings.showScrollBottleneckRects = /** type {WebInspector.Setting
} */ { } |
545 WebInspector.settings.forceCompositingMode = /** type {WebInspector.Setting} */
{ } | 550 WebInspector.settings.forceCompositingMode = /** type {WebInspector.Setting} */
{ } |
546 WebInspector.settings.showFPSCounter = /** type {WebInspector.Setting} */ { } | 551 WebInspector.settings.showFPSCounter = /** type {WebInspector.Setting} */ { } |
547 WebInspector.settings.showPaintRects = /** type {WebInspector.Setting} */ { } | 552 WebInspector.settings.showPaintRects = /** type {WebInspector.Setting} */ { } |
548 | 553 |
549 /** @type {boolean} */ | 554 /** @type {boolean} */ |
550 window.dispatchStandaloneTestRunnerMessages; | 555 window.dispatchStandaloneTestRunnerMessages; |
OLD | NEW |