MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / posLess

Function posLess

src/cm/codemirror.js:3076–3076  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

3074 // Operations on {line, ch} objects.
3075 function posEq(a, b) {return a.line == b.line && a.ch == b.ch;}
3076 function posLess(a, b) {return a.line < b.line || (a.line == b.line && a.ch < b.ch);}
3077 function copyPos(x) {return {line: x.line, ch: x.ch};}
3078
3079 function elt(tag, content, className, style) {

Callers 7

onMouseDownFunction · 0.85
doSelectFunction · 0.85
onDropFunction · 0.85
adjustPosFunction · 0.85
setSelectionUserFunction · 0.85
setSelectionFunction · 0.85
onContextMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…