MCPcopy
hub / github.com/DHTMLX/gantt / copyPos

Function copyPos

samples/common/codehighlight/codemirror.js:990–990  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

988 function equalCursorPos(a, b) { return a.sticky == b.sticky && cmp(a, b) == 0 }
989
990 function copyPos(x) {return Pos(x.line, x.ch)}
991 function maxPos(a, b) { return cmp(a, b) < 0 ? b : a }
992 function minPos(a, b) { return cmp(a, b) < 0 ? a : b }
993

Callers 2

codemirror.jsFile · 0.85
historyChangeFromChangeFunction · 0.85

Calls 1

PosFunction · 0.85

Tested by

no test coverage detected