arrayEdit.ts ×1
Frontier kind: Code frontier
unlabeled · c_17890afa23e3
51 tests · 6654 LOC · 39 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
arrayEdit.ts ×1 — Focused concept
Introduced files:
stringEdit.test|title=Edit ArrayEdit compose case6|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case14|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case70|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case25|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case30|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case33|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case37|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case56|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case23|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case83|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case24|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case39|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case4|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case67|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case79|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case10|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case32|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case35|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case38|occurrence=1, +4 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case92|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case0|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case75|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case13|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case20|occurrence=1, +8 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case15|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case27|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case36|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case45|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case85|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case93|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case26|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case41|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case74|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case61|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case77|occurrence=1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case8|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case69|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
stringEdit.test|title=Edit ArrayEdit compose case12|occurrence=1, stringEdit.test|title=Edit ArrayEdit compose case21|occurrence=1, +3 — Descendant (narrower)
Introduced tests:
arrayEdit.ts ×1 — Descendant (narrower)
Introduced files:
arrayEdit.ts ×2 — Descendant (narrower)
Introduced files:
arrayEdit.ts ×2 — Descendant (narrower)
Introduced files:
stringEdit.ts ×1 — Descendant (narrower)
Introduced files:
arrayEdit.ts ×13 — Descendant (narrower)
Introduced files:
Introduced tests:
random.ts ×5 — Descendant (narrower)
Introduced files:
random.ts ×18 — Descendant (narrower)
Introduced files:
positionToOffset.ts ×1 — Descendant (narrower)
Introduced files:
offsetRange.ts ×2 — Descendant (narrower)
Introduced files:
edit.ts ×2 — Descendant (narrower)
Introduced files:
edit.ts ×5 — Descendant (narrower)
Introduced files:
edit.ts ×6 — Descendant (narrower)
Introduced files:
edit.ts ×1 — Descendant (narrower)
Introduced files:
edit.ts ×7 — Descendant (narrower)
Introduced files:
stringEdit.ts ×1 — Descendant (narrower)
Introduced files:
stringEdit.ts ×1 — Descendant (narrower)
Introduced files:
edit.ts ×3 — Descendant (narrower)
Introduced files:
stringEdit.ts ×63 — Descendant (narrower)
Introduced files:
offsetRange.ts ×1 — Descendant (narrower)
Introduced files:
textEdit.ts ×1 — Descendant (narrower)
Introduced files:
textEdit.ts ×35 — Descendant (narrower)
Introduced files:
abstractText.ts ×16 — Descendant (narrower)
Introduced files:
textLength.ts ×21 — Descendant (narrower)
Introduced files:
offsetRange.ts ×1 — Descendant (narrower)
Introduced files:
positionToOffsetImpl.ts ×19 — Descendant (narrower)
Introduced files:
offsetRange.ts ×2 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
strings.ts ×101 — Descendant (narrower)
Introduced files:
lineRange.ts ×40 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
range.ts ×40 — Descendant (narrower)
Introduced files:
offsetRange.ts ×40 — Descendant (narrower)
Introduced files:
position.ts ×16 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
utils.ts ×3 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uint.ts ×2 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/editor/common/core/edits/arrayEdit.ts 2 introduced LOC · 1 range
Open complete file
82
83
tryJoinTouching ( other : ArrayReplacement < T >) : ArrayReplacement < T > | undefined {
84
>
return new ArrayReplacement ( this . replaceRange . joinRightTouching ( other . replaceRange ), this . newValue . concat ( other . newValue ));
arrayEdit.ts
85
>
}
86
87
slice ( range : OffsetRange , rangeInReplacement : OffsetRange ) : ArrayReplacement < T > {