VimJumpList.find method
VimJumpList › find
Unofficial
Look up the position the given number of steps away without moving the current position.Signature:
find(cm: CodeMirrorEditor, offset: number): EditorPosition | null | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| cm | CodeMirrorEditor | The editor to resolve the position in. |
| offset | number | How many steps to look, negative towards older entries. |
Returns: EditorPosition | null | undefined — The position, or null or undefined when there is no entry that far away.