Search code examples
javascriptselectioncodemirror

Vertical (or block) selection in Codemirror


Is there a way to do a vertical selection in codemirror as you do in the ace editor by pressing alt and dragging?

Thank you in advance.


Solution

  • Codemirror 4.2 now includes vertical selection when holding the alt key while dragging to select text. Try it on any of the demos: http://codemirror.net/