mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
add inset-update test
This commit is contained in:
parent
4a9962a7fc
commit
5e41a555dc
1 changed files with 6 additions and 0 deletions
|
|
@ -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' },
|
||||
{ text }
|
||||
)
|
||||
|
||||
|
||||
setTimeout(() => {
|
||||
console.log('updating!')
|
||||
vscode.window.updateWebviewTextEditorInset(inset.handle, line + 2, height)
|
||||
}, 2000)
|
||||
return inset
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue