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

Function posLess

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

Source from the content-addressed store, hash-verified

3184 // Operations on {line, ch} objects.
3185 function posEq(a, b) {return a.line == b.line && a.ch == b.ch;}
3186 function posLess(a, b) {return a.line < b.line || (a.line == b.line && a.ch < b.ch);}
3187 function copyPos(x) {return {line: x.line, ch: x.ch};}
3188
3189 var escapeElement = document.createElement("pre");

Callers 6

onMouseDownFunction · 0.70
adjustPosFunction · 0.70
setSelectionUserFunction · 0.70
setSelectionFunction · 0.70
markTextFunction · 0.70
onContextMenuFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected