MCPcopy Index your code
hub / github.com/nwutils/nw-sample-apps / getSelection

Function getSelection

mini-code-edit/cm/lib/codemirror.js:821–823  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

819 return code.join("\n");
820 }
821 function getSelection() {
822 return getRange(sel.from, sel.to);
823 }
824
825 var pollingFast = false; // Ensures slowPoll doesn't cancel fastPoll
826 function slowPoll() {

Callers 3

onDragStartFunction · 0.85
resetInputFunction · 0.85
onContextMenuFunction · 0.85

Calls 1

getRangeFunction · 0.85

Tested by

no test coverage detected