(doc, line, lineN)
| 3211 | // part of the document. A LineView may correspond to multiple |
| 3212 | // logical lines, if those are connected by collapsed ranges. |
| 3213 | function LineView(doc, line, lineN) { |
| 3214 | // The starting line |
| 3215 | this.line = line; |
| 3216 | // Continuing lines, if any |
| 3217 | this.rest = visualLineContinued(line); |
| 3218 | // Number of logical lines in this visual line |
| 3219 | this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1; |
| 3220 | this.node = this.text = null; |
| 3221 | this.hidden = lineIsHidden(doc, line); |
| 3222 | } |
| 3223 | |
| 3224 | // Create a range of LineView objects for the given lines. |
| 3225 | function buildViewArray(cm, from, to) { |
nothing calls this directly
no test coverage detected