CodeMirrorEditor.setCursor method
CodeMirrorEditor › setCursor
Unofficial
Set the cursor position to the given line and character.Signature:
setCursor(line: number, ch: number): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| line | number | The line number. |
| ch | number | The character offset. |
Returns: void