marijnh/CodeMirror — pull request #1186 by bfrohs (2013-01-25 16:09:06+00:00)
Title: Add findH() to commands

Useful for automatically adding/removing characters when hitting a key. For example, in Markdown mode, it would be easy to make `backspace` to delete the preceding blank line to give a better feeling of "paragraphs". (But it would be aware of multiple blank lines, and automatically adjust to "snap" to a paragraph [i.e., the 2nd, 4th, ... blank line].)