marijnh/CodeMirror — pull request #1704 by hsk81 (2013-07-26 19:11:51+00:00)
Title: [rst] `cm.getModeAt` fix for mode

The `cm.getModeAt` method was failing for `rst`. Commit ae2e64c ensures that `rst` mode reports correct `innerMode` (`stex`, `python` or `undefined` *if no inner mode for current state*). And commit d6ebcc1 enables `CodeMirror.innerMode` to deal with the latter most case.