MCPcopy Index your code
hub / github.com/csev/py4e / pushSelectionToHistory

Function pushSelectionToHistory

tools/pythonauto/static/codemirrorepl/codemirror.js:6663–6667  ·  view source on GitHub ↗
(sel, dest)

Source from the content-addressed store, hash-verified

6661 }
6662
6663 function pushSelectionToHistory(sel, dest) {
6664 var top = lst(dest);
6665 if (!(top && top.ranges && top.equals(sel)))
6666 dest.push(sel);
6667 }
6668
6669 // Used to store marked span information in the history.
6670 function attachLocalSpans(doc, change, from, to) {

Callers 3

makeChangeFromHistoryFunction · 0.85
addChangeToHistoryFunction · 0.85
addSelectionToHistoryFunction · 0.85

Calls 1

lstFunction · 0.70

Tested by

no test coverage detected