Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Vim
Function · 0.70
clipCursorToContent
Function · 0.70
extendLineToColumn
Function · 0.70
getLastSelectedAreaRange
Function · 0.70
expandSelection
Function · 0.70
makeCmSelection
Function · 0.70
clipToLine
Function · 0.70
moveToWord
Function · 0.70
Calls
1
getLine
Method · 0.65
Tested by
no test coverage detected