monaco-languageclient
Advanced tools
Comparing version 0.18.0 to 0.18.1
@@ -1,4 +0,4 @@ | ||
import * as vscode from "vscode"; | ||
import type * as vscode from "vscode"; | ||
import { Services } from "./services"; | ||
export declare function createVSCodeApi(servicesProvider: Services.Provider): typeof vscode; | ||
//# sourceMappingURL=vscode-api.d.ts.map |
@@ -14,3 +14,3 @@ /* -------------------------------------------------------------------------------------------- | ||
}; | ||
define(["require", "exports", "vscode", "vscode-uri", "./disposable", "./services", "./services", "vscode-languageserver-protocol"], function (require, exports, vscode, vscode_uri_1, disposable_1, services_1, ServicesModule, vscode_languageserver_protocol_1) { | ||
define(["require", "exports", "vscode-uri", "./disposable", "./services", "./services", "vscode-languageserver-protocol"], function (require, exports, vscode_uri_1, disposable_1, services_1, ServicesModule, vscode_languageserver_protocol_1) { | ||
"use strict"; | ||
@@ -125,2 +125,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
} | ||
let TextDocumentChangeReason; | ||
(function (TextDocumentChangeReason) { | ||
/** The text change is caused by an undo operation. */ | ||
TextDocumentChangeReason[TextDocumentChangeReason["Undo"] = 1] = "Undo"; | ||
/** The text change is caused by an redo operation. */ | ||
TextDocumentChangeReason[TextDocumentChangeReason["Redo"] = 2] = "Redo"; | ||
})(TextDocumentChangeReason || (TextDocumentChangeReason = {})); | ||
const workspace = { | ||
@@ -225,3 +232,3 @@ fs: new EmptyFileSystem(), | ||
contentChanges: contentChanges, | ||
reason: isUndoing ? vscode.TextDocumentChangeReason.Undo : isRedoing ? vscode.TextDocumentChangeReason.Redo : undefined | ||
reason: isUndoing ? TextDocumentChangeReason.Undo : isRedoing ? TextDocumentChangeReason.Redo : undefined | ||
}); | ||
@@ -948,3 +955,4 @@ }, undefined, disposables); | ||
CancellationTokenSource: vscode_languageserver_protocol_1.CancellationTokenSource, | ||
ProgressLocation: ServicesModule.ProgressLocation | ||
ProgressLocation: ServicesModule.ProgressLocation, | ||
TextDocumentChangeReason | ||
}; | ||
@@ -951,0 +959,0 @@ return partialApi; |
@@ -1,4 +0,4 @@ | ||
import * as vscode from "vscode"; | ||
import type * as vscode from "vscode"; | ||
import { Services } from "./services"; | ||
export declare function createVSCodeApi(servicesProvider: Services.Provider): typeof vscode; | ||
//# sourceMappingURL=vscode-api.d.ts.map |
@@ -17,3 +17,2 @@ "use strict"; | ||
exports.createVSCodeApi = void 0; | ||
const vscode = require("vscode"); | ||
const vscode_uri_1 = require("vscode-uri"); | ||
@@ -130,2 +129,9 @@ const disposable_1 = require("./disposable"); | ||
} | ||
let TextDocumentChangeReason; | ||
(function (TextDocumentChangeReason) { | ||
/** The text change is caused by an undo operation. */ | ||
TextDocumentChangeReason[TextDocumentChangeReason["Undo"] = 1] = "Undo"; | ||
/** The text change is caused by an redo operation. */ | ||
TextDocumentChangeReason[TextDocumentChangeReason["Redo"] = 2] = "Redo"; | ||
})(TextDocumentChangeReason || (TextDocumentChangeReason = {})); | ||
const workspace = { | ||
@@ -230,3 +236,3 @@ fs: new EmptyFileSystem(), | ||
contentChanges: contentChanges, | ||
reason: isUndoing ? vscode.TextDocumentChangeReason.Undo : isRedoing ? vscode.TextDocumentChangeReason.Redo : undefined | ||
reason: isUndoing ? TextDocumentChangeReason.Undo : isRedoing ? TextDocumentChangeReason.Redo : undefined | ||
}); | ||
@@ -953,3 +959,4 @@ }, undefined, disposables); | ||
CancellationTokenSource: vscode_languageserver_protocol_1.CancellationTokenSource, | ||
ProgressLocation: ServicesModule.ProgressLocation | ||
ProgressLocation: ServicesModule.ProgressLocation, | ||
TextDocumentChangeReason | ||
}; | ||
@@ -956,0 +963,0 @@ return partialApi; |
{ | ||
"name": "monaco-languageclient", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"description": "Monaco Language client implementation", | ||
@@ -5,0 +5,0 @@ "author": "TypeFox GmbH (http://www.typefox.io)", |
@@ -6,3 +6,3 @@ /* -------------------------------------------------------------------------------------------- | ||
import * as vscode from "vscode"; | ||
import type * as vscode from "vscode"; | ||
import { URI } from "vscode-uri" | ||
@@ -123,2 +123,10 @@ import { Disposable } from "./disposable"; | ||
enum TextDocumentChangeReason { | ||
/** The text change is caused by an undo operation. */ | ||
Undo = 1, | ||
/** The text change is caused by an redo operation. */ | ||
Redo = 2, | ||
} | ||
const workspace: typeof vscode.workspace = { | ||
@@ -223,3 +231,3 @@ fs: new EmptyFileSystem(), | ||
contentChanges: <any>contentChanges, | ||
reason: isUndoing ? vscode.TextDocumentChangeReason.Undo : isRedoing ? vscode.TextDocumentChangeReason.Redo : undefined | ||
reason: isUndoing ? TextDocumentChangeReason.Undo : isRedoing ? TextDocumentChangeReason.Redo : undefined | ||
}); | ||
@@ -974,3 +982,4 @@ }, undefined, disposables); | ||
CancellationTokenSource, | ||
ProgressLocation: ServicesModule.ProgressLocation | ||
ProgressLocation: ServicesModule.ProgressLocation, | ||
TextDocumentChangeReason | ||
}; | ||
@@ -977,0 +986,0 @@ |
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
853397
10920