Cm5Editor.heightAtLine method
Cm5Editor › heightAtLine
Unofficial
Computes the height of the top of a line.Signature:
heightAtLine(line: number | Cm5LineHandle, mode?: Cm5CoordsMode | undefined, includeWidgets?: boolean | undefined): numberParameters:
| Parameter | Type | Description |
|---|---|---|
| line | number | Cm5LineHandle | The line number or handle. |
| mode? | Cm5CoordsMode | undefined | The coordinate system. |
| includeWidgets? | boolean | undefined | Whether to include line widgets. |
Returns: number — The height in pixels.