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

Function lineLength

lib/web/CodeMirror/keymap/vim.js:3030–3032  ·  view source on GitHub ↗
(cm, lineNum)

Source from the content-addressed store, hash-verified

3028 return cur1before2 && cur2before3;
3029 }
3030 function lineLength(cm, lineNum) {
3031 return cm.getLine(lineNum).length;
3032 }
3033 function trim(s) {
3034 if (s.trim) {
3035 return s.trim();

Callers 8

VimFunction · 0.70
clipCursorToContentFunction · 0.70
extendLineToColumnFunction · 0.70
getLastSelectedAreaRangeFunction · 0.70
expandSelectionFunction · 0.70
makeCmSelectionFunction · 0.70
clipToLineFunction · 0.70
moveToWordFunction · 0.70

Calls 1

getLineMethod · 0.65

Tested by

no test coverage detected