monaco-editor
Version:
A browser based code editor
18 lines (16 loc) • 612 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/**
* Represents a column range in a single line.
*/
class RangeSingleLine {
constructor(
/** 1-based */
lineNumber, columnRange) {
this.lineNumber = lineNumber;
this.columnRange = columnRange;
}
}
export { RangeSingleLine };