(text, markedSpans, estimateHeight)
| 15 | // highlighting info (the styles array). |
| 16 | export class Line { |
| 17 | constructor(text, markedSpans, estimateHeight) { |
| 18 | this.text = text |
| 19 | attachMarkedSpans(this, markedSpans) |
| 20 | this.height = estimateHeight ? estimateHeight(this) : 1 |
| 21 | } |
| 22 | |
| 23 | lineNo() { return lineNo(this) } |
| 24 | } |
nothing calls this directly
no test coverage detected