MCPcopy
hub / github.com/csev/py4e / extendSelection

Function extendSelection

tools/pythonauto/static/codemirrorepl/codemirror.js:1067–1069  ·  view source on GitHub ↗
(doc, head, other, options)

Source from the content-addressed store, hash-verified

1065
1066 // Extend the primary selection range, discard the rest.
1067 function extendSelection(doc, head, other, options) {
1068 setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options);
1069 }
1070
1071 // Extend all selections (pos is an array of selections with length
1072 // equal the number of selections)

Callers 4

registerEventHandlersFunction · 0.70
onMouseDownFunction · 0.70
leftButtonStartDragFunction · 0.70
codemirror.jsFile · 0.70

Calls 2

extendRangeFunction · 0.85
setSelectionFunction · 0.70

Tested by

no test coverage detected