File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,8 +117,7 @@ export class DocumentationPreviewEditor implements vscode.Disposable {
117
117
vscode . workspace . onDidChangeTextDocument ( this . handleDocumentChange , this ) ,
118
118
this . webviewPanel . onDidDispose ( this . dispose , this )
119
119
) ;
120
- // Reveal the editor, but don't change the focus of the active text editor
121
- webviewPanel . reveal ( undefined , true ) ;
120
+ this . reveal ( ) ;
122
121
}
123
122
124
123
/** An event that is fired when the Documentation Preview Editor is disposed */
@@ -131,7 +130,8 @@ export class DocumentationPreviewEditor implements vscode.Disposable {
131
130
onDidRenderContent = this . renderEmitter . event ;
132
131
133
132
reveal ( ) {
134
- this . webviewPanel . reveal ( ) ;
133
+ // Reveal the editor, but don't change the focus of the active text editor
134
+ this . webviewPanel . reveal ( undefined , true ) ;
135
135
}
136
136
137
137
dispose ( ) {
You can’t perform that action at this time.
0 commit comments