MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / lineLength

Function lineLength

static/js/codemirror/keymap/vim.js:1476–1478  ·  view source on GitHub ↗
(cm, lineNum)

Source from the content-addressed store, hash-verified

1474 return false;
1475 }
1476 function lineLength(cm, lineNum) {
1477 return cm.getLine(lineNum).length;
1478 }
1479 function reverse(s){
1480 return s.split("").reverse().join("");
1481 }

Callers 4

VimFunction · 0.70
clipCursorToContentFunction · 0.70
clipToLineFunction · 0.70
moveToWordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected