Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Vim
Function · 0.70
clipCursorToContent
Function · 0.70
clipToLine
Function · 0.70
moveToWord
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected