MCPcopy Create free account
hub / github.com/TruthHun/BookStack / extraLeft

Function extraLeft

static/mergely/lib/codemirror.js:6511–6511  ·  view source on GitHub ↗
(marker)

Source from the content-addressed store, hash-verified

6509 // Helpers used when computing which overlapping collapsed span
6510 // counts as the larger one.
6511 function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; }
6512 function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; }
6513
6514 // Returns a number indicating which of two overlapping collapsed

Callers 2

compareCollapsedMarkersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected