MCPcopy
hub / github.com/ajaxorg/ace / testMotionWithFolding

Function testMotionWithFolding

src/keyboard/vim_test.js:412–420  ·  view source on GitHub ↗
(name, keys, endPos, startPos)

Source from the content-addressed store, hash-verified

410}
411
412function testMotionWithFolding(name, keys, endPos, startPos) {
413 testVim(name, function (cm, vim, helpers) {
414 cm.foldCode(startPos);
415 cm.foldCode(endPos);
416 cm.setCursor(startPos);
417 helpers.doKeys(keys);
418 helpers.assertCursorAt(endPos)
419 })
420}
421
422function makeCursor(line, ch) {
423 return new Pos(line, ch);

Callers 1

vim_test.jsFile · 0.85

Calls 1

testVimFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…