(doc, line, lineN)
| 3102 | // part of the document. A LineView may correspond to multiple |
| 3103 | // logical lines, if those are connected by collapsed ranges. |
| 3104 | function LineView(doc, line, lineN) { |
| 3105 | // The starting line |
| 3106 | this.line = line; |
| 3107 | // Continuing lines, if any |
| 3108 | this.rest = visualLineContinued(line); |
| 3109 | // Number of logical lines in this visual line |
| 3110 | this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1; |
| 3111 | this.node = this.text = null; |
| 3112 | this.hidden = lineIsHidden(doc, line); |
| 3113 | } |
| 3114 | |
| 3115 | // Create a range of LineView objects for the given lines. |
| 3116 | function buildViewArray(cm, from, to) { |
nothing calls this directly
no test coverage detected