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

Function extendSelection

src/codemirror.js:2140–2142  ·  view source on GitHub ↗
(doc, head, other, options)

Source from the content-addressed store, hash-verified

2138
2139 // Extend the primary selection range, discard the rest.
2140 function extendSelection(doc, head, other, options) {
2141 setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options);
2142 }
2143
2144 // Extend all selections (pos is an array of selections with length
2145 // equal the number of selections)

Callers 4

registerEventHandlersFunction · 0.85
onMouseDownFunction · 0.85
leftButtonStartDragFunction · 0.85
codemirror.jsFile · 0.85

Calls 2

setSelectionFunction · 0.85
extendRangeFunction · 0.85

Tested by

no test coverage detected