(text, markedSpans, estimateHeight)
| 1679 | // Line objects. These hold state related to a line, including |
| 1680 | // highlighting info (the styles array). |
| 1681 | var Line = function(text, markedSpans, estimateHeight) { |
| 1682 | this.text = text; |
| 1683 | attachMarkedSpans(this, markedSpans); |
| 1684 | this.height = estimateHeight ? estimateHeight(this) : 1; |
| 1685 | }; |
| 1686 | |
| 1687 | Line.prototype.lineNo = function () { return lineNo(this) }; |
| 1688 | eventMixin(Line); |
nothing calls this directly
no test coverage detected