MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / copyPos

Function copyPos

static/js/codemirror/codemirror.js:2275–2275  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

2273 function posEq(a, b) {return a.line == b.line && a.ch == b.ch;}
2274 function posLess(a, b) {return a.line < b.line || (a.line == b.line && a.ch < b.ch);}
2275 function copyPos(x) {return Pos(x.line, x.ch);}
2276
2277 // SELECTION
2278

Callers 2

codemirror.jsFile · 0.85
rebaseHistArrayFunction · 0.85

Calls 1

PosFunction · 0.85

Tested by

no test coverage detected