(doc, line, lineN)
| 3232 | // part of the document. A LineView may correspond to multiple |
| 3233 | // logical lines, if those are connected by collapsed ranges. |
| 3234 | function LineView(doc, line, lineN) { |
| 3235 | // The starting line |
| 3236 | this.line = line; |
| 3237 | // Continuing lines, if any |
| 3238 | this.rest = visualLineContinued(line); |
| 3239 | // Number of logical lines in this visual line |
| 3240 | this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1; |
| 3241 | this.node = this.text = null; |
| 3242 | this.hidden = lineIsHidden(doc, line); |
| 3243 | } |
| 3244 | |
| 3245 | // Create a range of LineView objects for the given lines. |
| 3246 | function buildViewArray(cm, from, to) { |
nothing calls this directly
no test coverage detected