marijnh/CodeMirror2 — pull request #625 by samuela (2012-07-08 01:59:47+00:00)
Title: Add double and triple click support for word and line selection

Solution to issue #300. Double and triple click in most text editors are used for selecting entire words or lines, respectively. By making some changes to the ``onMouseDown`` function, I created the same behavior in CodeMirror.