()
| 1548 | } |
| 1549 | |
| 1550 | function loadMode() { |
| 1551 | mode = CodeMirror.getMode(options, options.mode); |
| 1552 | doc.iter(0, doc.size, function(line) { line.stateAfter = null; }); |
| 1553 | work = [0]; |
| 1554 | startWorker(); |
| 1555 | } |
| 1556 | function gutterChanged() { |
| 1557 | var visible = options.gutter || options.lineNumbers; |
| 1558 | gutter.style.display = visible ? "" : "none"; |
no test coverage detected