Issue 6961: CodeMirror Editor lose focus on multi-lines mode

https://code.google.com/p/fbug/issues/detail?id=6961