Path: blob/main/src/vs/editor/common/viewModel/screenReaderSimpleModel.ts
5241 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { Position } from '../core/position.js';6import { Range } from '../core/range.js';7import { EndOfLinePreference } from '../model.js';89export interface ISimpleModel {10getLineContent(lineNumber: number): string;11getLineCount(): number;12getLineMaxColumn(lineNumber: number): number;13getValueInRange(range: Range, eol: EndOfLinePreference): string;14getValueLengthInRange(range: Range, eol: EndOfLinePreference): number;15modifyPosition(position: Position, offset: number): Position;16}171819