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 { SettingsManager } from './settings';
const codeLineClass = 'code-line';
export class CodeLineElement {
readonly #detailParentElements: readonly HTMLDetailsElement[];
constructor(
readonly element: HTMLElement,
readonly line: number,
readonly codeElement?: HTMLElement,
readonly endLine?: number,
) {
this.#detailParentElements = Array.from(element
#detailParentElementsx xopen
style windowelement
styledisplay stylevisibility
bounds element
boundsheight boundswidth
getCodeLineElements
cachedElements CodeLineElement
cachedVersion
documentVersion
cachedElements documentVersion cachedVersion
cachedVersion documentVersion
cachedElements documentbody
element documentcodeLineClass
element
line element
line
elementtagName elementparentElementtagName
text elementtextContent
lineCount text length
endLine line lineCount
cachedElements elementparentElement line element endLine
elementtagName
elementtagName elementtagName
cachedElements element line
cachedElements
targetLine documentVersion previous CodeLineElement next CodeLineElement
lineNumber MathtargetLine
lines documentVersion
previous lines
entry lines
entryline lineNumber
previous entry next
entryline lineNumber
previous next entry
previous entry
previous
startLine endLine documentVersion CodeLineElement
rangeStart MathstartLine
rangeEnd MathrangeStart MathendLine
lines documentVersionelement elementline
elements CodeLineElement
i i lineslength i
element linesi
next linesi
elementStart elementline
elementEnd elementendLine
elementendLine
next nextline elementline nextline elementline
rangeStart rangeEnd elementStart elementEnd
elementselement
elements
startA endA startB endB
startA endB startB endA
offset documentVersion previous CodeLineElement next CodeLineElement
lines documentVersionx xisVisible
position offset windowscrollY
lo
hi lineslength
lo hi
mid Mathlo hi
bounds linesmid
boundstop boundsheight position
hi mid
lo mid
hiElement lineshi
hiBounds hiElement
hi hiBoundstop position
loElement lineslo
previous loElement next hiElement
hi hi lineslength hiBoundstop hiBoundsheight position
previous hiElement next lineshi
previous hiElement
codeLineElement CodeLineElement top height
element codeElement codeLineElement
myBounds element
codeElement
myBounds
codeLineChild element
codeLineChild
childBounds codeLineChild
height Math childBoundstop myBoundstop
top myBoundstop
height height
myBounds
codeLineElement CodeLineElement
top
height
paddingTop
paddingBottom
element codeElement codeLineElement
bounds codeLineElement
codeElement
computedStyle windowelement
paddingTop computedStylepaddingTop
paddingBottom computedStylepaddingBottom
top boundstop paddingTop
height boundsheight paddingTop paddingBottom
paddingTop
paddingBottom
top boundstop
height boundsheight
paddingTop
paddingBottom
line documentVersion settingsManager SettingsManager
settingsManagersettingsscrollPreviewWithEditor
line
windowwindowscrollX
previous next line documentVersion
previous
scrollTo
rect previous
previousTop recttop
previousendLine previousendLine previousline
line previousendLine
contentBounds previous
progressInCodeBlock line previousline previousendLine previousline
contentAbsoluteTop windowscrollY contentBoundstop
targetAbsoluteY contentAbsoluteTop contentBoundsheight progressInCodeBlock
scrollTo targetAbsoluteY
next nextline previousline
betweenProgress line previousendLine nextline previousendLine
elementAbsoluteEnd windowscrollY previousTop rectheight
nextAbsoluteTop windowscrollY nextelementtop
betweenHeight nextAbsoluteTop elementAbsoluteEnd
scrollTo elementAbsoluteEnd betweenProgress betweenHeight
scrollTo windowscrollY previousTop rectheight
next nextline previousline
betweenProgress line previousline nextline previousline
elementAbsoluteEnd windowscrollY previousTop rectheight
nextAbsoluteTop windowscrollY nextelementtop
betweenHeight nextAbsoluteTop elementAbsoluteEnd
scrollTo elementAbsoluteEnd betweenProgress betweenHeight
progressInElement line Mathline
scrollTo windowscrollY previousTop rectheight progressInElement
windowwindowscrollX Math scrollTo
offset documentVersion
previous next offset documentVersion
previous
previousline
previousBounds previous
offsetFromPrevious offset windowscrollY previousBoundstop
previousendLine previousendLine previousline
contentBounds previous
offsetFromContent offset windowscrollY contentBoundstop
offsetFromContent offsetFromContent contentBoundsheight
progressWithinCodeBlock offsetFromContent contentBoundsheight
calculatedLine previousline progressWithinCodeBlock previousendLine previousline
calculatedLine
next offsetFromContent contentBoundsheight
gapOffset offsetFromContent contentBoundsheight
nextBounds next
contentEnd contentBoundstop contentBoundsheight
gapHeight nextBoundstop contentEnd
progressInGap gapOffset gapHeight
calculatedLine previousendLine progressInGap nextline previousendLine
calculatedLine
offsetFromContent
next
progressBetweenElements offsetFromPrevious nexttop previousBoundstop
calculatedLine previousline progressBetweenElements nextline previousline
calculatedLine
progressWithinElement offsetFromPrevious previousBoundsheight
calculatedLine previousline progressWithinElement
calculatedLine
fragment documentVersion CodeLineElement
documentVersionelement
elementelementid fragment
element HTMLElement tagName Iterable
parent elementparentElement parent parent parentparentElement
parenttagName tagName
parent