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

Function makeCursor

lib/web/CodeMirror/test/vim_test.js:333–335  ·  view source on GitHub ↗
(line, ch)

Source from the content-addressed store, hash-verified

331}
332
333function makeCursor(line, ch) {
334 return new Pos(line, ch);
335}
336
337function offsetCursor(cur, offsetLine, offsetCh) {
338 return new Pos(cur.line + offsetLine, cur.ch + offsetCh);

Callers 3

vim_test.jsFile · 0.85
assertCursorAtFnFunction · 0.85
testJumplistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected