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

Function recordJumpPosition

lib/web/CodeMirror/keymap/vim.js:3420–3424  ·  view source on GitHub ↗
(cm, oldCur, newCur)

Source from the content-addressed store, hash-verified

3418 }
3419
3420 function recordJumpPosition(cm, oldCur, newCur) {
3421 if (!cursorEqual(oldCur, newCur)) {
3422 vimGlobalState.jumpList.add(cm, oldCur, newCur);
3423 }
3424 }
3425
3426 function recordLastCharacterSearch(increment, args) {
3427 vimGlobalState.lastCharacterSearch.increment = increment;

Callers 1

VimFunction · 0.85

Calls 2

cursorEqualFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected