(cm, next)
| 9589 | } |
| 9590 | |
| 9591 | function detachVimMap(cm, next) { |
| 9592 | if (this == CodeMirror.keyMap.vim) |
| 9593 | CodeMirror.rmClass(cm.getWrapperElement(), "cm-fat-cursor"); |
| 9594 | |
| 9595 | if (!next || next.attach != attachVimMap) |
| 9596 | leaveVimMode(cm, false); |
| 9597 | } |
| 9598 | function attachVimMap(cm, prev) { |
| 9599 | if (this == CodeMirror.keyMap.vim) |
| 9600 | CodeMirror.addClass(cm.getWrapperElement(), "cm-fat-cursor"); |
nothing calls this directly
no test coverage detected