MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / copyCursor

Function copyCursor

static/js/codemirror/keymap/vim.js:1462–1464  ·  view source on GitHub ↗
(cur)

Source from the content-addressed store, hash-verified

1460 };
1461 }
1462 function copyCursor(cur) {
1463 return { line: cur.line, ch: cur.ch };
1464 }
1465 function cursorEqual(cur1, cur2) {
1466 return cur1.ch == cur2.ch && cur1.line == cur2.line;
1467 }

Callers 1

VimFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected