(cm, line, diff)
| 6667 | eventMixin(LineWidget); |
| 6668 | |
| 6669 | function adjustScrollWhenAboveVisible(cm, line, diff) { |
| 6670 | if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop)) |
| 6671 | addToScrollPos(cm, null, diff); |
| 6672 | } |
| 6673 | |
| 6674 | LineWidget.prototype.clear = function() { |
| 6675 | var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line); |
no test coverage detected