marijnh/CodeMirror — pull request #2340 by AlbertoGP (2014-03-05 17:10:28+00:00)
Title: Make setMark() be a toggle like in Emacs:

pressing Ctrl-Space once starts the selection extension mode,
pressing it again cancels that

This fixes #2339, [emacs] setMark() / Ctrl-Space is not a toggle