MCPcopy
hub / github.com/witheve/Eve / cursorMin

Function cursorMin

src/codemirror.js:12066–12071  ·  view source on GitHub ↗
(cur1, cur2)

Source from the content-addressed store, hash-verified

12064 return false;
12065 }
12066 function cursorMin(cur1, cur2) {
12067 if (arguments.length > 2) {
12068 cur2 = cursorMin.apply(undefined, Array.prototype.slice.call(arguments, 1));
12069 }
12070 return cursorIsBefore(cur1, cur2) ? cur1 : cur2;
12071 }
12072 function cursorMax(cur1, cur2) {
12073 if (arguments.length > 2) {
12074 cur2 = cursorMax.apply(undefined, Array.prototype.slice.call(arguments, 1));

Callers 4

VimFunction · 0.85
expandSelectionFunction · 0.85
getHeadFunction · 0.85
handleExternalSelectionFunction · 0.85

Calls 2

cursorIsBeforeFunction · 0.85
applyMethod · 0.45

Tested by

no test coverage detected