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)
| 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. |
no outgoing calls
no test coverage detected