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

Function cmp

tools/pythonauto/static/codemirror/codemirror.js:2540–2540  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

2538 function posEq(a, b) {return a.line == b.line && a.ch == b.ch;}
2539 function posLess(a, b) {return a.line < b.line || (a.line == b.line && a.ch < b.ch);}
2540 function cmp(a, b) {return a.line - b.line || a.ch - b.ch;}
2541 function copyPos(x) {return Pos(x.line, x.ch);}
2542
2543 // SELECTION

Callers 15

maxPosFunction · 0.85
minPosFunction · 0.85
codemirror.jsFile · 0.85
normalizeSelectionFunction · 0.85
extendRangeFunction · 0.85
setSelectionNoUndoFunction · 0.85
skipAtomicFunction · 0.85
leftButtonDownFunction · 0.85
extendToFunction · 0.85
extendFunction · 0.85
adjustForChangeFunction · 0.85
computeReplacedSelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected