MCPcopy Create free account
hub / github.com/breck7/scroll / cmpCoords

Function cmpCoords

external/.scrollLibs.js:4485–4487  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4483 }
4484
4485 function cmpCoords(a, b) {
4486 return a.top - b.top || a.left - b.left
4487 }
4488
4489 // Draws the given range as a highlighted selection
4490 function drawSelectionRange(cm, range$$1, output) {

Callers 1

drawForLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected