(line)
| 131 | } |
| 132 | |
| 133 | attachLine(line) { |
| 134 | if (!this.lines.length && this.doc.cm) { |
| 135 | let op = this.doc.cm.curOp |
| 136 | if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1) |
| 137 | (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this) |
| 138 | } |
| 139 | this.lines.push(line) |
| 140 | } |
| 141 | |
| 142 | detachLine(line) { |
| 143 | this.lines.splice(indexOf(this.lines, line), 1) |
no test coverage detected