MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / posLess

Function posLess

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

Source from the content-addressed store, hash-verified

2272
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

Callers 11

onMouseDownFunction · 0.85
doSelectFunction · 0.85
onDropFunction · 0.85
onContextMenuFunction · 0.85
clipPostChangeFunction · 0.85
adjustPosFunction · 0.85
replaceRangeFunction · 0.85
extendSelectionFunction · 0.85
setSelectionFunction · 0.85
markTextFunction · 0.85
removeReadOnlyRangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected