MCPcopy Index your code
hub / github.com/DHTMLX/gantt / clearSelectionEvents

Function clearSelectionEvents

samples/common/codehighlight/codemirror.js:4830–4836  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

4828 // Pop all selection events off the end of a history array. Stop at
4829 // a change event.
4830 function clearSelectionEvents(array) {
4831 while (array.length) {
4832 var last = lst(array);
4833 if (last.ranges) { array.pop(); }
4834 else { break }
4835 }
4836 }
4837
4838 // Find the top change event in the history. Pop off selection
4839 // events that are in the way.

Callers 2

lastChangeEventFunction · 0.85
addSelectionToHistoryFunction · 0.85

Calls 1

lstFunction · 0.85

Tested by

no test coverage detected