Path: blob/main/src/vs/editor/common/viewModel/screenReaderSimpleModel.ts
3294 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 {10getLineCount(): number;11getLineMaxColumn(lineNumber: number): number;12getValueInRange(range: Range, eol: EndOfLinePreference): string;13getValueLengthInRange(range: Range, eol: EndOfLinePreference): number;14modifyPosition(position: Position, offset: number): Position;15}161718