borisyankov/DefinitelyTyped — pull request #2906 by hellochar (2014-09-30 20:55:51+00:00)
Title: Add StringStream definition for codemirror

taken from https://codemirror.net/doc/manual.html#modeapi

Eventually we'll need to add in the actual mode object but that's a whole different beast.
I couldn't find documentation on lastColumnPos, lastColumnValue, or lineStart. Let me know if it's alright to just leave them undocumented. Thanks!