(cm)
| 324 | } |
| 325 | |
| 326 | function disableFatCursorMark(cm) { |
| 327 | clearFatCursorMark(cm); |
| 328 | cm.off("cursorActivity", updateFatCursorMark); |
| 329 | // explicitly set fatCursorMarks to null because event listener above |
| 330 | // can be invoke after removing it, if off is called from operation |
| 331 | cm.state.fatCursorMarks = null; |
| 332 | } |
| 333 | |
| 334 | // Deprecated, simply setting the keymap works again. |
| 335 | CodeMirror.defineOption('vimMode', false, function(cm, val, prev) { |
no test coverage detected