Cm5Editor.getTokenAt method
Cm5Editor › getTokenAt
Unofficial
Retrieves information about the token at the given position.Signature:
getTokenAt(pos: Position, precise?: boolean | undefined): Cm5TokenParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | Position | The position. |
| precise? | boolean | undefined | Whether to use a more precise algorithm. |
Returns: Cm5Token — The token information.