(left, top, width, bottom)
| 718 | var clientWidth = display.lineSpace.offsetWidth, pl = paddingLeft(cm.display); |
| 719 | |
| 720 | function add(left, top, width, bottom) { |
| 721 | if (top < 0) top = 0; |
| 722 | fragment.appendChild(elt("div", null, "CodeMirror-selected", "position: absolute; left: " + left + |
| 723 | "px; top: " + top + "px; width: " + (width == null ? clientWidth - left : width) + |
| 724 | "px; height: " + (bottom - top) + "px")); |
| 725 | } |
| 726 | |
| 727 | function drawForLine(line, fromArg, toArg, retTop) { |
| 728 | var lineObj = getLine(doc, line); |
no test coverage detected