@@ -54,10 +48,10 @@ index 5e43f1b39e..7775e3b6da 100644
...
@@ -54,10 +48,10 @@ index 5e43f1b39e..7775e3b6da 100644
}
}
+
+
+ public async run(accessor, editor: ICodeEditor): Promise<void> {
+ public async run(accessor, editor: ICodeEditor): Promise<void> {
+ if (editor instanceof CodeEditorWidget) {
+ if (editor instanceof (require('vs/editor/browser/widget/codeEditorWidget') as typeof import('vs/editor/browser/widget/codeEditorWidget')).CodeEditorWidget) {
+ try {
+ try {
+ editor.trigger('', Handler.Paste, {
+ editor.trigger('', (require('vs/editor/common/editorCommon') as typeof import ('vs/editor/common/editorCommon')).Handler.Paste, {
+ text: await client.clipboardText,
+ text: await (require('vs/../../../../packages/vscode') as typeof import ('vs/../../../../packages/vscode')).client.clipboardText,
+ });
+ });
+ } catch (ex) {
+ } catch (ex) {
+ super.run(accessor, editor);
+ super.run(accessor, editor);
...
@@ -123,23 +117,15 @@ index e3efb95b75..163bc4c994 100644
...
@@ -123,23 +117,15 @@ index e3efb95b75..163bc4c994 100644