Skip to content

CodeMirrorEditor.moveH method

CodeMirrorEditor › moveH

Unofficial

Move the cursor horizontally by the given number of units.

Signature:

moveH(dir: number, unit: string): void

Parameters:

ParameterTypeDescription
dirnumberThe direction and amount to move.
unitstringThe unit of movement.

Returns: void