mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 00:59:24 +01:00
333d9a4053
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
10 lines
546 B
TypeScript
10 lines
546 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as vscodeTypes from '../../vscodeTypes';
|
|
|
|
export function collapseRangeToStart(range: vscodeTypes.Range): vscodeTypes.Range {
|
|
return new vscodeTypes.Range(range.start, range.start);
|
|
} |