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:

Parameter Type Description
pos Position The position.

Returns: Cm5RangeThe range of the word.