(cm)
| 7748 | } |
| 7749 | |
| 7750 | function wrappingChanged(cm) { |
| 7751 | if (cm.options.lineWrapping) { |
| 7752 | addClass(cm.display.wrapper, "CodeMirror-wrap"); |
| 7753 | cm.display.sizer.style.minWidth = ""; |
| 7754 | cm.display.sizerWidth = null; |
| 7755 | } else { |
| 7756 | rmClass(cm.display.wrapper, "CodeMirror-wrap"); |
| 7757 | findMaxLine(cm); |
| 7758 | } |
| 7759 | estimateLineHeights(cm); |
| 7760 | regChange(cm); |
| 7761 | clearCaches(cm); |
| 7762 | setTimeout(function () { return updateScrollbars(cm); }, 100); |
| 7763 | } |
| 7764 | |
| 7765 | // A CodeMirror instance represents an editor. This is the object |
| 7766 | // that user code is usually dealing with. |
nothing calls this directly
no test coverage detected