(options: { line: number; autoExpand?: boolean })
| 91 | } |
| 92 | |
| 93 | async function setCursor(options: { line: number; autoExpand?: boolean }) { |
| 94 | if (!state.content.value) return; |
| 95 | const node = findActiveNode(options); |
| 96 | await highlightNode(node); |
| 97 | } |
| 98 | |
| 99 | async function highlightNode(node?: INode) { |
| 100 | await mm.setHighlight(node); |
no test coverage detected