MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / cmpCoords

Function cmpCoords

lib/web/CodeMirror/src/display/selection.js:50–50  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

48}
49
50function cmpCoords(a, b) { return a.top - b.top || a.left - b.left }
51
52// Draws the given range as a highlighted selection
53function drawSelectionRange(cm, range, output) {

Callers 1

drawForLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected