ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { assertNever } from '../../base/common/assert.js';
import { WrappingIndent } from './config/editorOptions.js';
import { FontInfo } from './config/fontInfo.js';
import { Position } from './core/position.js';
import { InjectedTextCursorStops, InjectedTextOptions, PositionAffinity } from './model.js';
import { LineInjectedText } from './textModelEvents.js';
/**
* *input*:
* ```
* xxxxxxxxxxxxxxxxxxxxxxxxxxx
* ```
*
* -> Applying injections `[i...i]`, *inputWithInjections*:
* ```
* xxxxxx[iiiiiiiiii]xxxxxxxxxxxxxxxxx[ii]xxxx
* ```
*
* -> breaking at offsets `|` in `xxxxxx[iiiiiii|iii]xxxxxxxxxxx|xxxxxx[ii]xxxx|`:
* ```
* xxxxxx[iiiiiii
* iii]xxxxxxxxxxx
* xxxxxx[ii]xxxx
* ```
*
* -> applying wrappedTextIndentLength, *output*:
* ```
* xxxxxx[iiiiiii
* iii]xxxxxxxxxxx
* xxxxxx[ii]xxxx
* ```
*/
injectionOffsets
injectionOptions InjectedTextOptions
breakOffsets
breakOffsetsVisibleColumn
wrappedTextIndentLength
breakOffsetslength
outputLineIndex
outputLineIndex
wrappedTextIndentLength
outputLineIndex
startOffset outputLineIndex breakOffsetsoutputLineIndex
endOffset breakOffsetsoutputLineIndex
lineLength endOffset startOffset
outputLineIndex
lineLength wrappedTextIndentLength
lineLength
outputLineIndex
outputLineIndex
outputLineIndex outputOffset
outputLineIndex
outputOffset Math outputOffset wrappedTextIndentLength
offsetInInputWithInjection outputLineIndex outputOffset breakOffsetsoutputLineIndex outputOffset
offsetInInput offsetInInputWithInjection
injectionOffsets
i i injectionOffsetslength i
offsetInInput injectionOffsetsi
offsetInInput injectionOffsetsi injectionOptionsicontentlength
offsetInInput injectionOffsetsi
offsetInInput injectionOptionsicontentlength
offsetInInput
inputOffset affinity PositionAffinity PositionAffinityNone OutputPosition
inputOffsetInInputWithInjection inputOffset
injectionOffsets
i i injectionOffsetslength i
inputOffset injectionOffsetsi
affinity PositionAffinityRight inputOffset injectionOffsetsi
inputOffsetInInputWithInjection injectionOptionsicontentlength
inputOffsetInInputWithInjection affinity
offsetInInputWithInjections affinity PositionAffinity PositionAffinityNone OutputPosition
low
high breakOffsetslength
mid
midStart
low high
mid low high low
midStop breakOffsetsmid
midStart mid breakOffsetsmid
affinity PositionAffinityLeft
offsetInInputWithInjections midStart
high mid
offsetInInputWithInjections midStop
low mid
offsetInInputWithInjections midStart
high mid
offsetInInputWithInjections midStop
low mid
outputOffset offsetInInputWithInjections midStart
mid
outputOffset wrappedTextIndentLength
mid outputOffset
outputLineIndex outputOffset affinity PositionAffinity OutputPosition
injectionOffsets
offsetInInputWithInjections outputLineIndex outputOffset
normalizedOffsetInUnwrappedLine offsetInInputWithInjections affinity
normalizedOffsetInUnwrappedLine offsetInInputWithInjections
normalizedOffsetInUnwrappedLine affinity
affinity PositionAffinityLeft
outputLineIndex outputOffset outputLineIndex
outputLineIndex outputLineIndex
affinity PositionAffinityRight
maxOutputLineIndex
outputLineIndex maxOutputLineIndex outputOffset outputLineIndex
outputLineIndex outputLineIndex
outputLineIndex outputOffset
outputLineIndex outputOffset
outputLineIndex
outputOffset Math outputOffset wrappedTextIndentLength
result outputLineIndex breakOffsetsoutputLineIndex outputOffset
result
offsetInInputWithInjections affinity PositionAffinity
injectedText offsetInInputWithInjections
injectedText
offsetInInputWithInjections
affinity PositionAffinityNone
offsetInInputWithInjections injectedTextoffsetInInputWithInjections injectedTextlength
injectionOptionsinjectedTextinjectedTextIndexcursorStops
injectedTextoffsetInInputWithInjections injectedTextlength
result injectedTextoffsetInInputWithInjections
injectionOptionsinjectedTextinjectedTextIndexcursorStops
result
index injectedTextinjectedTextIndex
index injectionOffsetsindex injectionOffsetsinjectedTextinjectedTextIndex
injectionOptionsindexcursorStops
result injectionOptionsindexcontentlength
injectionOptionsindexcursorStops
index
result
affinity PositionAffinityRight affinity PositionAffinityRightOfInjectedText
result injectedTextoffsetInInputWithInjections injectedTextlength
index injectedTextinjectedTextIndex
index injectionOffsetslength injectionOffsetsindex injectionOffsetsindex
result injectionOptionsindex contentlength
index
result
affinity PositionAffinityLeft affinity PositionAffinityLeftOfInjectedText
result injectedTextoffsetInInputWithInjections
index injectedTextinjectedTextIndex
index injectionOffsetsindex injectionOffsetsindex
result injectionOptionsindex contentlength
index
result
affinity
outputLineIndex outputOffset InjectedText
offset outputLineIndex outputOffset
injectedText offset
injectedText
options injectionOptionsinjectedTextinjectedTextIndex
offsetInInputWithInjections injectedTextIndex offsetInInputWithInjections length
injectionOffsets injectionOffsets
injectionOptions injectionOptions
injectionOffsets
totalInjectedTextLengthBefore
i i injectionOffsetslength i
length injectionOptionsicontentlength
injectedTextStartOffsetInInputWithInjections injectionOffsetsi totalInjectedTextLengthBefore
injectedTextEndOffsetInInputWithInjections injectionOffsetsi totalInjectedTextLengthBefore length
injectedTextStartOffsetInInputWithInjections offsetInInputWithInjections
offsetInInputWithInjections injectedTextEndOffsetInInputWithInjections
injectedTextIndex i
offsetInInputWithInjections injectedTextStartOffsetInInputWithInjections
length
totalInjectedTextLengthBefore length
cursorStop InjectedTextCursorStops
cursorStop cursorStop
cursorStop InjectedTextCursorStopsRight cursorStop InjectedTextCursorStopsBoth
cursorStop InjectedTextCursorStops
cursorStop cursorStop
cursorStop InjectedTextCursorStopsLeft cursorStop InjectedTextCursorStopsBoth
options InjectedTextOptions
outputLineIndex
outputOffset
outputLineIndex outputOffset
outputLineIndex outputLineIndex
outputOffset outputOffset
baseLineNumber Position
baseLineNumber outputLineIndex outputOffset
lineNumber
lineNumber LineInjectedText
context ILineBreaksComputerContext fontInfo FontInfo tabSize wrappingColumn wrappingIndent WrappingIndent wordBreak wrapOnEscapedLineFeeds ILineBreaksComputer
lineNumber previousLineBreakData ModelLineProjectionData
ModelLineProjectionData