(cm, line, diff)
| 7782 | eventMixin(LineWidget) |
| 7783 | |
| 7784 | function adjustScrollWhenAboveVisible(cm, line, diff) { |
| 7785 | if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop)) { |
| 7786 | addToScrollTop(cm, diff) |
| 7787 | } |
| 7788 | } |
| 7789 | |
| 7790 | function addLineWidget(doc, handle, node, options) { |
| 7791 | var widget = new LineWidget(doc, node, options) |
no test coverage detected