Add search box to test-helper (#3517)

This commit is contained in:
Leedehai 2024-02-28 03:08:51 -05:00 committed by GitHub
parent 6dab30238a
commit 5036c5aceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,6 +118,7 @@ class Handler {
'Typst.test-helper.preview', 'Typst.test-helper.preview',
uri.path.split('/').pop()?.replace('.typ', '.png') ?? 'Test output', uri.path.split('/').pop()?.replace('.typ', '.png') ?? 'Test output',
vscode.ViewColumn.Beside, vscode.ViewColumn.Beside,
{enableFindWidget: true},
) )
newPanel.onDidChangeViewState(() => { newPanel.onDidChangeViewState(() => {
if (newPanel && newPanel.active && newPanel.visible) { if (newPanel && newPanel.active && newPanel.visible) {