(lineView)
| 781 | // Lines with gutter elements, widgets or a background class need to |
| 782 | // be wrapped, and have the extra elements added to the wrapper div |
| 783 | function ensureLineWrapped(lineView) { |
| 784 | if (lineView.node == lineView.text) { |
| 785 | lineView.node = elt("div", null, null, "position: relative"); |
| 786 | if (lineView.text.parentNode) |
| 787 | lineView.text.parentNode.replaceChild(lineView.node, lineView.text); |
| 788 | lineView.node.appendChild(lineView.text); |
| 789 | if (ie_upto7) lineView.node.style.zIndex = 2; |
| 790 | } |
| 791 | return lineView.node; |
| 792 | } |
| 793 | |
| 794 | function updateLineBackground(lineView) { |
| 795 | var cls = lineView.bgClass ? lineView.bgClass + " " + (lineView.line.bgClass || "") : lineView.line.bgClass; |
no test coverage detected
searching dependent graphs…