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

Function clearFakeCursor

lib/web/CodeMirror/keymap/vim.js:5546–5555  ·  view source on GitHub ↗
(vim)

Source from the content-addressed store, hash-verified

5544 }
5545 }
5546 function clearFakeCursor(vim) {
5547 if (vim.fakeCursor) {
5548 vim.fakeCursor.clear();
5549 vim.fakeCursor = null;
5550 }
5551 if (vim.fakeCursorBookmark) {
5552 vim.fakeCursorBookmark.clear();
5553 vim.fakeCursorBookmark = null;
5554 }
5555 }
5556 function handleExternalSelection(cm, vim) {
5557 var anchor = cm.getCursor('anchor');
5558 var head = cm.getCursor('head');

Callers 2

exitVisualModeFunction · 0.85
updateFakeCursorFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected