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