Skip to content

Cm5Editor.findWordAt method

Cm5Editor › findWordAt

Unofficial

Returns the start and end of the word at the given position.

Signature:

findWordAt(pos: Position): Cm5Range

Parameters:

ParameterTypeDescription
posPositionThe position.

Returns: Cm5RangeThe range of the word.