Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ronreiter/interactive-tutorials
/ selectLine
Function
selectLine
static/js/codemirror/codemirror.js:2588–2590 ·
view source on GitHub ↗
(cm, line)
Source
from the content-addressed store, hash-verified
2586
}
2587
2588
function
selectLine(cm, line) {
2589
extendSelection(cm.doc, Pos(line, 0), clipPos(cm.doc, Pos(line + 1, 0)));
2590
}
2591
2592
// PROTOTYPE
2593
Callers
1
onMouseDown
Function · 0.85
Calls
3
extendSelection
Function · 0.85
Pos
Function · 0.85
clipPos
Function · 0.85
Tested by
no test coverage detected