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

Function posEq

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

Source from the content-addressed store, hash-verified

2536 CodeMirror.Pos = Pos;
2537
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);}

Callers 15

updateSelectionFunction · 0.70
readInputFunction · 0.70
resetInputFunction · 0.70
onMouseDownFunction · 0.70
doSelectFunction · 0.70
extendFunction · 0.70
onContextMenuFunction · 0.70
prepareSelectAllHackFunction · 0.70
makeChangeNoReadonlyFunction · 0.70
setSelectionFunction · 0.70
skipAtomicFunction · 0.70
codemirror.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected