Skip to content

Cm5Editor.coordsChar method

Cm5Editor › coordsChar

Unofficial

Returns the position corresponding to the given coordinates.

Signature:

coordsChar(coords: Cm5EditorCoordsCharInput, mode?: Cm5CoordsMode | undefined): Position

Parameters:

ParameterTypeDescription
coordsCm5EditorCoordsCharInputThe coordinates with left and top properties.
mode?Cm5CoordsMode | undefinedThe coordinate system used.

Returns: PositionThe corresponding position.