(ch)
| 9396 | } |
| 9397 | var prep |
| 9398 | var getWrappedLineExtent = function (ch) { |
| 9399 | if (!cm.options.lineWrapping) { |
| 9400 | return { begin: 0, end: line.text.length } |
| 9401 | } |
| 9402 | prep = prep || prepareMeasureForLine(cm, line) |
| 9403 | return wrappedLineExtentChar(cm, line, prep, ch) |
| 9404 | } |
| 9405 | var wrappedLineExtent = getWrappedLineExtent(start.sticky == "before" ? mv(start, -1) : start.ch) |
| 9406 | |
| 9407 | if (cm.doc.direction == "rtl" || part.level == 1) { |
no test coverage detected