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

Function testMotionWithFolding

lib/web/CodeMirror/test/vim_test.js:323–331  ·  view source on GitHub ↗
(name, keys, endPos, startPos)

Source from the content-addressed store, hash-verified

321}
322
323function testMotionWithFolding(name, keys, endPos, startPos) {
324 testVim(name, function (cm, vim, helpers) {
325 cm.foldCode(startPos);
326 cm.foldCode(endPos);
327 cm.setCursor(startPos);
328 helpers.doKeys(keys);
329 helpers.assertCursorAt(endPos)
330 })
331}
332
333function makeCursor(line, ch) {
334 return new Pos(line, ch);

Callers 1

vim_test.jsFile · 0.85

Calls 1

testVimFunction · 0.85

Tested by

no test coverage detected