(doc, code, from, to, origin)
| 4391 | } |
| 4392 | |
| 4393 | function replaceRange(doc, code, from, to, origin) { |
| 4394 | if (!to) to = from; |
| 4395 | if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; } |
| 4396 | if (typeof code == "string") code = splitLines(code); |
| 4397 | makeChange(doc, {from: from, to: to, text: code, origin: origin}); |
| 4398 | } |
| 4399 | |
| 4400 | // SCROLLING THINGS INTO VIEW |
| 4401 |
no test coverage detected
searching dependent graphs…