Skip to content

Cm5Editor.getModeAt method

Cm5Editor › getModeAt

Unofficial

Gets the inner mode at a given position.

Signature:

getModeAt(pos: Position): Cm5Mode<unknown>

Parameters:

Parameter Type Description
pos Position The position.

Returns: Cm5Mode<unknown>The mode at that position.