(left, top, width, bottom)
| 3185 | var docLTR = doc.direction == "ltr"; |
| 3186 | |
| 3187 | function add(left, top, width, bottom) { |
| 3188 | if (top < 0) { top = 0; } |
| 3189 | top = Math.round(top); |
| 3190 | bottom = Math.round(bottom); |
| 3191 | fragment.appendChild(elt("div", null, "CodeMirror-selected", ("position: absolute; left: " + left + "px;\n top: " + top + "px; width: " + (width == null ? rightSide - left : width) + "px;\n height: " + (bottom - top) + "px"))); |
| 3192 | } |
| 3193 | |
| 3194 | function drawForLine(line, fromArg, toArg) { |
| 3195 | var lineObj = getLine(doc, line); |
no test coverage detected