marijnh/CodeMirror — pull request #2705 by vrana (2014-07-16 01:24:10+00:00)
Title: Expand selection after indenting

When I indent the code, it is to move it somewhere else most of the time. The current behavior changes the selection so that it begins on the first non-whitespace character. When I cut the text then I have to indent the first line manually at the target place and I have to delete the whitespace from the source location. This commit changes the behavior so that it expands the selection to cover all selected lines. It allows me to select lines on any arbitrary position on the line, indent it and move it real quick.