remove onDidChangeCellLanguage-event in favor of the existing document closed/opened event sequence

This commit is contained in:
Johannes Rieken
2021-03-09 15:14:20 +01:00
parent e373b9c59e
commit 9cc276648e
11 changed files with 74 additions and 54 deletions

View File

@@ -102,7 +102,7 @@ export class ExtHostDocuments implements ExtHostDocumentsShape {
return this._proxy.$tryCreateDocument(options).then(data => URI.revive(data));
}
public $acceptModelModeChanged(uriComponents: UriComponents, oldModeId: string, newModeId: string): void {
public $acceptModelModeChanged(uriComponents: UriComponents, newModeId: string): void {
const uri = URI.revive(uriComponents);
const data = this._documentsAndEditors.getDocument(uri);
if (!data) {