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

Function pushSelectionToHistory

samples/common/codehighlight/codemirror.js:4933–4937  ·  view source on GitHub ↗
(sel, dest)

Source from the content-addressed store, hash-verified

4931 }
4932
4933 function pushSelectionToHistory(sel, dest) {
4934 var top = lst(dest);
4935 if (!(top && top.ranges && top.equals(sel)))
4936 { dest.push(sel); }
4937 }
4938
4939 // Used to store marked span information in the history.
4940 function attachLocalSpans(doc, change, from, to) {

Callers 3

addChangeToHistoryFunction · 0.85
addSelectionToHistoryFunction · 0.85
makeChangeFromHistoryFunction · 0.85

Calls 1

lstFunction · 0.85

Tested by

no test coverage detected