adobe/brackets — pull request #10150 by MarcelGerber (2014-12-11 18:30:55+00:00)
Title: Use cm.getModeAt in TokenUtils.getModeAt

So, `cm.getModeAt` basically just does what our function did, but faster. See https://github.com/codemirror/CodeMirror/blob/b833e63142d18e89a43cc37b712325f5b530c08c/lib/codemirror.js#L4228-L4232