(lines)
| 7512 | // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html |
| 7513 | |
| 7514 | function LeafChunk(lines) { |
| 7515 | var this$1 = this |
| 7516 | |
| 7517 | this.lines = lines |
| 7518 | this.parent = null |
| 7519 | var height = 0 |
| 7520 | for (var i = 0; i < lines.length; ++i) { |
| 7521 | lines[i].parent = this$1 |
| 7522 | height += lines[i].height |
| 7523 | } |
| 7524 | this.height = height |
| 7525 | } |
| 7526 | |
| 7527 | LeafChunk.prototype = { |
| 7528 | chunkSize: function () { |
nothing calls this directly
no outgoing calls
no test coverage detected