marijnh/CodeMirror2 — pull request #448 by bfrohs (2012-03-16 15:57:27+00:00)
Title: Add support for `autofocus` attribute on textareas, and also for manual overriding

This makes it possible for options.autofocus to be set to **on** (`true`), **off** (`false`), or **inherit** (`null` / not set) which will use the value from the HTML `autofocus` attribute (if present, `true`, else `false`).