mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
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…
x
Reference in New Issue
Block a user