Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Vim
Function · 0.70
selectBlock
Function · 0.70
updateLastSelection
Function · 0.70
makeCmSelection
Function · 0.70
findSymbol
Function · 0.70
moveToWord
Function · 0.70
findBeginningAndEnd
Function · 0.70
getLastEditPos
Function · 0.70
updateFakeCursor
Function · 0.70
Calls
1
Pos
Function · 0.50
Tested by
no test coverage detected