update CodeMirror
fix directResize

http://modx.im/blog/questions/904.html#comment7793