ryangies/CodeMirror2 — comment on commit dc0872ff2ef5fa783a44bed8ba6762af16ce91ba
File:  line 0
By ryangies:

With the option `collapseEmptyLines` is set to true value, the editor will discard the auto-inserted indentation spaces when `` is hit. For example, type this (without the line numbers):

1 function foo() {
2 var r;
3
4 r = 13;
5
6 return r;
7 }

Starting at the end of line 2, I type `` to get to line 4.

Without `collapseEmptyLines`, lines 3 and 5 will contain space characters which were inserted to indent the line.

* Applies both with and without `smartIndent`.
* Does not apply when replacing a text selection.