(cm)
| 7821 | } |
| 7822 | |
| 7823 | function wrappingChanged(cm) { |
| 7824 | if (cm.options.lineWrapping) { |
| 7825 | addClass(cm.display.wrapper, "CodeMirror-wrap"); |
| 7826 | cm.display.sizer.style.minWidth = ""; |
| 7827 | cm.display.sizerWidth = null; |
| 7828 | } else { |
| 7829 | rmClass(cm.display.wrapper, "CodeMirror-wrap"); |
| 7830 | findMaxLine(cm); |
| 7831 | } |
| 7832 | estimateLineHeights(cm); |
| 7833 | regChange(cm); |
| 7834 | clearCaches(cm); |
| 7835 | setTimeout(function () { return updateScrollbars(cm); }, 100); |
| 7836 | } |
| 7837 | |
| 7838 | // A CodeMirror instance represents an editor. This is the object |
| 7839 | // that user code is usually dealing with. |
nothing calls this directly
no test coverage detected