(cm)
| 179 | } |
| 180 | |
| 181 | function wrappingChanged(cm) { |
| 182 | if (cm.options.lineWrapping) { |
| 183 | addClass(cm.display.wrapper, "CodeMirror-wrap") |
| 184 | cm.display.sizer.style.minWidth = "" |
| 185 | cm.display.sizerWidth = null |
| 186 | } else { |
| 187 | rmClass(cm.display.wrapper, "CodeMirror-wrap") |
| 188 | findMaxLine(cm) |
| 189 | } |
| 190 | estimateLineHeights(cm) |
| 191 | regChange(cm) |
| 192 | clearCaches(cm) |
| 193 | setTimeout(() => updateScrollbars(cm), 100) |
| 194 | } |
nothing calls this directly
no test coverage detected