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

Function copyCursor

lib/web/CodeMirror/keymap/vim.js:2997–2999  ·  view source on GitHub ↗
(cur)

Source from the content-addressed store, hash-verified

2995 };
2996 }
2997 function copyCursor(cur) {
2998 return Pos(cur.line, cur.ch);
2999 }
3000 function cursorEqual(cur1, cur2) {
3001 return cur1.ch == cur2.ch && cur1.line == cur2.line;
3002 }

Callers 9

VimFunction · 0.70
selectBlockFunction · 0.70
updateLastSelectionFunction · 0.70
makeCmSelectionFunction · 0.70
findSymbolFunction · 0.70
moveToWordFunction · 0.70
findBeginningAndEndFunction · 0.70
getLastEditPosFunction · 0.70
updateFakeCursorFunction · 0.70

Calls 1

PosFunction · 0.50

Tested by

no test coverage detected