Cm5Editor.findPosV method
Cm5Editor › findPosV
Unofficial
Finds the target position for vertical cursor motion.Signature:
findPosV(start: Position, amount: number, unit: string): Cm5FindPosResultParameters:
| Parameter | Type | Description |
|---|---|---|
| start | Position | The starting position. |
| amount | number | The number of units to move. |
| unit | string | The unit ("line" or "page"). |
Returns: Cm5FindPosResult — The target position, with hitSide set if the edge was reached.