(doc, code, from, to, origin)
| 3500 | } |
| 3501 | |
| 3502 | function replaceRange(doc, code, from, to, origin) { |
| 3503 | if (!to) to = from; |
| 3504 | if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; } |
| 3505 | if (typeof code == "string") code = splitLines(code); |
| 3506 | makeChange(doc, {from: from, to: to, text: code, origin: origin}); |
| 3507 | } |
| 3508 | |
| 3509 | // SCROLLING THINGS INTO VIEW |
| 3510 |
no test coverage detected
searching dependent graphs…