CodeMirrorModule.Pos method
CodeMirrorModule › Pos
Unofficial
A constructor function for creating Position objects.Signature:
Pos(line: number, ch?: number | undefined, sticky?: string | undefined): PositionParameters:
| Parameter | Type | Description |
|---|---|---|
| line | number | The line number. |
| ch? | number | undefined | The character position. |
| sticky? | string | undefined | The sticky direction. |
Returns: Position — The created position.