MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / disableFatCursorMark

Function disableFatCursorMark

lib/web/CodeMirror/keymap/vim.js:326–332  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

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) {

Callers 1

detachVimMapFunction · 0.85

Calls 2

clearFatCursorMarkFunction · 0.85
offMethod · 0.45

Tested by

no test coverage detected