Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ offsetCursor
Function
offsetCursor
lib/web/CodeMirror/test/vim_test.js:337–339 ·
view source on GitHub ↗
(cur, offsetLine, offsetCh)
Source
from the content-addressed store, hash-verified
335
}
336
337
function
offsetCursor(cur, offsetLine, offsetCh) {
338
return
new
Pos(cur.line + offsetLine, cur.ch + offsetCh);
339
}
340
341
// Motion tests
342
testMotion(
'|'
,
'|'
, makeCursor(0, 0), makeCursor(0,4));
Callers
1
vim_test.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected