marijnh/CodeMirror2 — pull request #213 by vmx (2011-10-19 20:56:45+00:00)
Title: Add position to runmode callback.

The callback in runmode currently returns for every token
only the text and the style. This commit adds the position,
the line and the character, to the callback. It's an object
with "line" and "ch" as properties.