/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ISpliceable } from '../../../../../vs/base/common/sequence'; export class CombinedSpliceable implements ISpliceable { constructor(private spliceables: ISpliceable[]) {} splice(start: number, deleteCount: number, elements: T[]): void { this.spliceables.forEach((s) => s.splice(start, deleteCount, elements)); } }