(text: string)
| 2131 | } |
| 2132 | if (feature('QUICK_SEARCH')) { |
| 2133 | const insertWithSpacing = (text: string) => { |
| 2134 | const cursorChar = input[cursorOffset - 1] ?? ' '; |
| 2135 | insertTextAtCursor(/\s/.test(cursorChar) ? text : ` ${text}`); |
| 2136 | }; |
| 2137 | if (showQuickOpen) { |
| 2138 | return <QuickOpenDialog onDone={() => setShowQuickOpen(false)} onInsert={insertWithSpacing} />; |
| 2139 | } |
nothing calls this directly
no test coverage detected