sprotty-vscode
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -19,1 +19,2 @@ /******************************************************************************** | ||
export * from './workspace-edit-action-handler'; | ||
export * from './sprotty-lsp-edit-vscode-extension'; |
@@ -24,2 +24,3 @@ "use strict"; | ||
__export(require("./workspace-edit-action-handler")); | ||
__export(require("./sprotty-lsp-edit-vscode-extension")); | ||
//# sourceMappingURL=index.js.map |
@@ -46,2 +46,3 @@ /******************************************************************************** | ||
protected connect(): Promise<void>; | ||
protected setWebviewActiveContext(isActive: boolean): void; | ||
protected sendDiagramIdentifier(): Promise<void>; | ||
@@ -48,0 +49,0 @@ protected receiveFromWebview(message: any): void; |
@@ -105,2 +105,3 @@ "use strict"; | ||
} | ||
_this.setWebviewActiveContext(event.webviewPanel.active); | ||
})); | ||
@@ -117,2 +118,5 @@ this.disposables.push(this.diagramPanel.onDidDispose(function () { | ||
}; | ||
SprottyWebview.prototype.setWebviewActiveContext = function (isActive) { | ||
vscode.commands.executeCommand('setContext', this.diagramIdentifier.diagramType + '-focused', isActive); | ||
}; | ||
SprottyWebview.prototype.sendDiagramIdentifier = function () { | ||
@@ -119,0 +123,0 @@ return __awaiter(this, void 0, void 0, function () { |
{ | ||
"name": "sprotty-vscode", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"displayName": "Sprotty VSCode Integration", | ||
@@ -46,3 +46,3 @@ "description": "Glue code to integrate Sprotty diagrams in VSCode extensions (extension part)", | ||
"path": "^0.12.7", | ||
"sprotty-vscode-protocol": "^0.0.3", | ||
"sprotty-vscode-protocol": "^0.0.4", | ||
"vscode": "^1.1.21", | ||
@@ -59,3 +59,3 @@ "vscode-languageclient": "^5.2.1", | ||
"scripts": { | ||
"clean": "rimraf lib sprotty-vscode*.tgz", | ||
"clean": "rimraf lib", | ||
"build": "tsc", | ||
@@ -66,3 +66,3 @@ "watch": "tsc -w", | ||
}, | ||
"gitHead": "1fe9f3272ed14e182b67deabef1d1fc9b6e73dca" | ||
"gitHead": "99132778720736ee312df31a76df741ab0c4c082" | ||
} |
@@ -20,1 +20,2 @@ /******************************************************************************** | ||
export * from './workspace-edit-action-handler'; | ||
export * from './sprotty-lsp-edit-vscode-extension'; |
@@ -117,2 +117,3 @@ /******************************************************************************** | ||
} | ||
this.setWebviewActiveContext(event.webviewPanel.active); | ||
})); | ||
@@ -127,2 +128,6 @@ this.disposables.push(this.diagramPanel.onDidDispose(() => { | ||
protected setWebviewActiveContext(isActive: boolean) { | ||
vscode.commands.executeCommand('setContext', this.diagramIdentifier.diagramType + '-focused', isActive); | ||
} | ||
protected async sendDiagramIdentifier() { | ||
@@ -129,0 +134,0 @@ await this.webviewReady; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
144259
54
2120
+ Addedsprotty-vscode-protocol@0.0.4(transitive)
- Removedsprotty-vscode-protocol@0.0.3(transitive)