Set the cursor position.You can either pass a single { line , ch } object , or the line and the character as two separate parameters.
(pos: CodeMirror.Position)
| 508 | |
| 509 | /** Set the cursor position.You can either pass a single { line , ch } object , or the line and the character as two separate parameters. */ |
| 510 | setCursor(pos: CodeMirror.Position): void; |
| 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; |
no outgoing calls
no test coverage detected