UNPKG

sussudio

Version:

An unofficial VS Code Internal API

14 lines (13 loc) 610 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ export class CombinedSpliceable { spliceables; constructor(spliceables) { this.spliceables = spliceables; } splice(start, deleteCount, elements) { this.spliceables.forEach(s => s.splice(start, deleteCount, elements)); } }