CodeMirrorEditor.moveH method
CodeMirrorEditor › moveH
Unofficial
Move the cursor horizontally by the given number of units.Signature:
moveH(dir: number, unit: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| dir | number | The direction and amount to move. |
| unit | string | The unit of movement. |
Returns: void