massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver / lib / common / linkedEditingRange.js
1 "use strict";
2 /* --------------------------------------------------------------------------------------------
3  * Copyright (c) Microsoft Corporation. All rights reserved.
4  * Licensed under the MIT License. See License.txt in the project root for license information.
5  * ------------------------------------------------------------------------------------------ */
6 Object.defineProperty(exports, "__esModule", { value: true });
7 exports.LinkedEditingRangeFeature = void 0;
8 const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol");
9 const LinkedEditingRangeFeature = (Base) => {
10     return class extends Base {
11         onLinkedEditingRange(handler) {
12             this.connection.onRequest(vscode_languageserver_protocol_1.LinkedEditingRangeRequest.type, (params, cancel) => {
13                 return handler(params, cancel, this.attachWorkDoneProgress(params), undefined);
14             });
15         }
16     };
17 };
18 exports.LinkedEditingRangeFeature = LinkedEditingRangeFeature;
19 //# sourceMappingURL=linkedEditingRange.js.map