(line)
| 15 | var tabSize = cm.getOption("tabSize"), firstLine = cm.getLine(start.line); |
| 16 | if (!/\S/.test(firstLine)) return; |
| 17 | var getIndent = function(line) { |
| 18 | return CodeMirror.countColumn(line, null, tabSize); |
| 19 | }; |
| 20 | var myIndent = getIndent(firstLine); |
| 21 | var lastLineInFold = null; |
| 22 | // Go through lines until we find a line that definitely doesn't belong in |