(doc, line, lineN)
| 3184 | // part of the document. A LineView may correspond to multiple |
| 3185 | // logical lines, if those are connected by collapsed ranges. |
| 3186 | function LineView(doc, line, lineN) { |
| 3187 | // The starting line |
| 3188 | this.line = line |
| 3189 | // Continuing lines, if any |
| 3190 | this.rest = visualLineContinued(line) |
| 3191 | // Number of logical lines in this visual line |
| 3192 | this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1 |
| 3193 | this.node = this.text = null |
| 3194 | this.hidden = lineIsHidden(doc, line) |
| 3195 | } |
| 3196 | |
| 3197 | // Create a range of LineView objects for the given lines. |
| 3198 | function buildViewArray(cm, from, to) { |
nothing calls this directly
no test coverage detected