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 { splitLines } from '../../../../../base/common/strings.js';
import { Position } from '../../../core/position.js';
import { Range } from '../../../core/range.js';
import { TextLength } from '../../../core/text/textLength.js';
/**
* The end must be greater than or equal to the start.
*/
export function lengthDiff(startLineCount: number, startColumnCount: number, endLineCount: number, endColumnCount: number): Length {
return (startLineCount !== endLineCount
endLineCount startLineCount endColumnCount
endColumnCount startColumnCount
_brand
lengthZero Length
length Length
length
factor
lineCount columnCount Length
lineCount factor columnCount Length
length Length TextLength
l length
lineCount Mathl factor
columnCount l lineCount factor
lineCount columnCount
length Length
Mathlength factor
length Length
length
length1 Length length2 Length Length
l1 l2 Length
r l1 l2
l2 factor r r l1 factor
r
items item Length Length
itemsa b a b lengthZero
length1 Length length2 Length
length1 length2
length1 Length length2 Length Length
l1 length1
l2 length2
diff l2 l1
diff
lengthZero
lineCount1 Mathl1 factor
lineCount2 Mathl2 factor
colCount2 l2 lineCount2 factor
lineCount1 lineCount2
colCount1 l1 lineCount1 factor
colCount2 colCount1
lineCount2 lineCount1 colCount2
length1 Length length2 Length
length1 length2
length1 Length length2 Length
length1 length2
length1 Length length2 Length
length1 length2
length Length Position
l length
lineCount Mathl factor
colCount l lineCount factor
lineCount colCount
position Position Length
positionlineNumber positioncolumn
lengthStart Length lengthEnd Length Range
l lengthStart
lineCount Mathl factor
colCount l lineCount factor
l2 lengthEnd
lineCount2 Mathl2 factor
colCount2 l2 lineCount2 factor
lineCount colCount lineCount2 colCount2
range Range TextLength
rangestartLineNumber rangeendLineNumber
rangeendColumn rangestartColumn
rangeendLineNumber rangestartLineNumber rangeendColumn
length1 Length length2 Length
l1 length1
l2 length2
l1 l2
str Length
lines str
lineslength lineslineslength length
str TextLength
lines str
lineslength lineslineslength length
length Length
length
length1 Length length2 Length Length
length1 length2 length1 length2