(i, dir, any)
| 12758 | var start, end, i = line; |
| 12759 | function isEmpty(i) { return !cm.getLine(i); } |
| 12760 | function isBoundary(i, dir, any) { |
| 12761 | if (any) { return isEmpty(i) != isEmpty(i + dir); } |
| 12762 | return !isEmpty(i) && isEmpty(i + dir); |
| 12763 | } |
| 12764 | if (dir) { |
| 12765 | while (min <= i && i <= max && repeat > 0) { |
| 12766 | if (isBoundary(i, dir)) { repeat--; } |
no test coverage detected