add inset-update test

This commit is contained in:
Andrew 2024-10-31 20:31:07 -07:00
parent 4a9962a7fc
commit 5e41a555dc

View file

@ -234,6 +234,12 @@ export class DiffProvider implements vscode.CodeLensProvider {
updateWebviewHTML(inset.webview, this._extensionUri, { jsOutLocation: 'dist/webviews/diffline/index.js', cssOutLocation: 'dist/webviews/styles.css' }, updateWebviewHTML(inset.webview, this._extensionUri, { jsOutLocation: 'dist/webviews/diffline/index.js', cssOutLocation: 'dist/webviews/styles.css' },
{ text } { text }
) )
setTimeout(() => {
console.log('updating!')
vscode.window.updateWebviewTextEditorInset(inset.handle, line + 2, height)
}, 2000)
return inset return inset
}) })