Add search box to test-helper (#3517)
This commit is contained in:
parent
6dab30238a
commit
5036c5aceb
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue