moved to CodeMirror.runMode for mini-map content generation
setting runMode's modespec to the current editors modespec