Cm5Editor.charCoords method
Cm5Editor › charCoords
Unofficial
Returns the coordinates for a character position.Signature:
charCoords(pos: Position, mode?: Cm5CoordsMode | undefined): Cm5EditorCharCoordsParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | Position | The character position. |
| mode? | Cm5CoordsMode | undefined | The coordinate system to use. |
Returns: Cm5EditorCharCoords — An object with left, right, top, and bottom properties.