@codingame/monaco-languageclient
Advanced tools
Comparing version 0.16.1 to 0.17.0
@@ -26,3 +26,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
uri: model.uri, | ||
languageId: model.getModeId() | ||
languageId: model.getLanguageId() | ||
}; | ||
@@ -29,0 +29,0 @@ } |
@@ -57,3 +57,3 @@ define(["require", "exports", "./services", "vscode-languageserver-textdocument"], function (require, exports, services_1, vscode_languageserver_textdocument_1) { | ||
setModel(uri, model) { | ||
const document = vscode_languageserver_textdocument_1.TextDocument.create(uri, model.getModeId(), model.getVersionId(), model.getValue()); | ||
const document = vscode_languageserver_textdocument_1.TextDocument.create(uri, model.getLanguageId(), model.getVersionId(), model.getValue()); | ||
this.documents.set(uri, document); | ||
@@ -60,0 +60,0 @@ return document; |
@@ -29,3 +29,3 @@ "use strict"; | ||
uri: model.uri, | ||
languageId: model.getModeId() | ||
languageId: model.getLanguageId() | ||
}; | ||
@@ -32,0 +32,0 @@ } |
@@ -58,3 +58,3 @@ "use strict"; | ||
setModel(uri, model) { | ||
const document = vscode_languageserver_textdocument_1.TextDocument.create(uri, model.getModeId(), model.getVersionId(), model.getValue()); | ||
const document = vscode_languageserver_textdocument_1.TextDocument.create(uri, model.getLanguageId(), model.getVersionId(), model.getValue()); | ||
this.documents.set(uri, document); | ||
@@ -61,0 +61,0 @@ return document; |
{ | ||
"name": "@codingame/monaco-languageclient", | ||
"version": "0.16.1", | ||
"version": "0.17.0", | ||
"description": "Monaco Language client implementation", | ||
@@ -5,0 +5,0 @@ "author": "TypeFox GmbH (http://www.typefox.io)", |
@@ -36,3 +36,3 @@ /* -------------------------------------------------------------------------------------------- | ||
uri: model.uri, | ||
languageId: model.getModeId() | ||
languageId: model.getLanguageId() | ||
} | ||
@@ -39,0 +39,0 @@ } |
@@ -71,3 +71,3 @@ /* -------------------------------------------------------------------------------------------- | ||
protected setModel(uri: string, model: monaco.editor.IModel): TextDocument { | ||
const document = TextDocument.create(uri, model.getModeId(), model.getVersionId(), model.getValue()); | ||
const document = TextDocument.create(uri, model.getLanguageId(), model.getVersionId(), model.getValue()); | ||
this.documents.set(uri, document); | ||
@@ -74,0 +74,0 @@ return document; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
867999