(text: string)
| 1567 | } |
| 1568 | if (feature('QUICK_SEARCH')) { |
| 1569 | const insertWithSpacing = (text: string) => { |
| 1570 | const cursorChar = input[cursorOffset - 1] ?? ' '; |
| 1571 | insertTextAtCursor(/\s/.test(cursorChar) ? text : ` ${text}`); |
| 1572 | }; |
| 1573 | if (showQuickOpen) { |
| 1574 | return <QuickOpenDialog onDone={() => setShowQuickOpen(false)} onInsert={insertWithSpacing} />; |
| 1575 | } |
nothing calls this directly
no test coverage detected