MCPcopy Index your code
hub / github.com/csev/py4e / selectLine

Function selectLine

tools/pythonauto/static/codemirror/codemirror.js:2897–2899  ·  view source on GitHub ↗
(cm, line)

Source from the content-addressed store, hash-verified

2895 }
2896
2897 function selectLine(cm, line) {
2898 extendSelection(cm.doc, Pos(line, 0), clipPos(cm.doc, Pos(line + 1, 0)));
2899 }
2900
2901 // PROTOTYPE
2902

Callers 1

onMouseDownFunction · 0.70

Calls 3

PosFunction · 0.85
extendSelectionFunction · 0.70
clipPosFunction · 0.70

Tested by

no test coverage detected