MCPcopy Create free account
hub / github.com/witheve/Eve / setSelection

Method setSelection

typings/codemirror/codemirror.d.ts:513–513  ·  view source on GitHub ↗

Set the selection range.anchor and head should be { line , ch } objects.head defaults to anchor when not given.

(anchor: CodeMirror.Position, head: CodeMirror.Position)

Source from the content-addressed store, hash-verified

511
512 /** Set the selection range.anchor and head should be { line , ch } objects.head defaults to anchor when not given. */
513 setSelection(anchor: CodeMirror.Position, head: CodeMirror.Position): void;
514
515 /** Similar to setSelection , but will, if shift is held or the extending flag is set,
516 move the head of the selection while leaving the anchor at its current place.

Callers 4

registerEventHandlersFunction · 0.80
codemirror.jsFile · 0.80
getLastSelectedAreaRangeFunction · 0.80
nextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected