(code)
| 539 | } |
| 540 | |
| 541 | function setValue(code) { |
| 542 | var top = {line: 0, ch: 0}; |
| 543 | updateLines(top, {line: doc.size - 1, ch: getLine(doc.size-1).text.length}, |
| 544 | splitLines(code), top, top); |
| 545 | updateInput = true; |
| 546 | } |
| 547 | function getValue() { |
| 548 | var text = []; |
| 549 | doc.iter(0, doc.size, function(line) { text.push(line.text); }); |
no test coverage detected