pieceTreeBase.ts ×1
Frontier kind: Code frontier
unlabeled · c_cff5b96c036b
62 tests · 39262 LOC · 238 files · introduces 0 tests · 6 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 6 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.
pieceTreeBase.ts ×1 — Focused concept
Introduced files:
modelDecorations.test|title=Editor Model - Model Decorations decorations are updated when inserting text inside|occurrence=1 — Ancestor (broader)
Introduced tests:
modelDecorations.test|title=Editor Model - Model Decorations decorations change when inserting text after them|occurrence=1 — Ancestor (broader)
Introduced tests:
modelDecorations.test|title=Editor Model - Model Decorations decorations are updated when inserting text inside 2|occurrence=1 — Ancestor (broader)
Introduced tests:
sparseMultilineTokens.ts ×10 — Ancestor (broader)
Introduced files:
Introduced tests:
model.line.test|title=ModelLinesTokens updates tokens on replace 2|occurrence=1 — Ancestor (broader)
Introduced tests:
model.modes.test|title=Editor Model - Model Modes 1 model invalidates states for one line delete|occurrence=1 — Ancestor (broader)
Introduced tests:
model.modes.test|title=Editor Model - Model Modes 2 getTokensForInvalidLines two text insert|occurrence=1 — Ancestor (broader)
Introduced tests:
model.modes.test|title=Editor Model - Model Modes 2 getTokensForInvalidLines one multi-line text insert, one small text insert|occurrence=1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens multi insert 8|occurrence=1, model.line.test|title=ModelLinesTokens split inthe middle 2|occurrence=1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens split inthe middle 1|occurrence=1 — Ancestor (broader)
Introduced tests:
model.modes.test|title=Editor Model - Model Modes 2 getTokensForInvalidLines one text insert|occurrence=1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens single insert 3|occurrence=1, model.line.test|title=ModelLinesTokens updates tokens on insertion 4|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens single insert 4|occurrence=1, model.line.test|title=ModelLinesTokens updates tokens on insertion 5|occurrence=1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens single insert 2|occurrence=1, model.line.test|title=ModelLinesTokens updates tokens on insertion 2|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens updates tokens on replace 1|occurrence=1 — Ancestor (broader)
Introduced tests:
contiguousTokensEditing.ts ×1 — Ancestor (broader)
Introduced files:
model.line.test|title=ModelLinesTokens multi delete 6|occurrence=1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens multi insert 6|occurrence=1, model.line.test|title=ModelLinesTokens split at the beginning|occurrence=1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens single insert 5|occurrence=1, model.line.test|title=ModelLinesTokens updates tokens on insertion 6|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens append 1|occurrence=1, model.line.test|title=ModelLinesTokens append 2|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens multi delete 9|occurrence=1 — Ancestor (broader)
Introduced tests:
tokensStore.test|title=TokensStore inserting a newline|occurrence=1 — Ancestor (broader)
Introduced tests:
sparseMultilineTokens.ts ×11 — Ancestor (broader)
Introduced files:
model.line.test|title=ModelLinesTokens single insert 1|occurrence=1, model.line.test|title=ModelLinesTokens updates tokens on insertion 1|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
multi line 2|occurrence=1, multi line 3|occurrence=1 — Ancestor (broader)
Introduced tests:
contiguousTokensEditing.ts ×3 — Ancestor (broader)
Introduced files:
model.line.test|title=ModelLinesTokens delete second token|occurrence=1, model.line.test|title=ModelLinesTokens delete second token 2|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens single delete 2|occurrence=1 — Ancestor (broader)
Introduced tests:
model.line.test|title=ModelLinesTokens single delete 4|occurrence=1 — Ancestor (broader)
Introduced tests:
contiguousTokensEditing.ts ×1 — Ancestor (broader)
Introduced files:
contiguousTokensEditing.ts ×1 — Ancestor (broader)
Introduced files:
model.line.test|title=ModelLinesTokens delete 2nd and 3rd chars|occurrence=1 — Ancestor (broader)
Introduced tests:
inline 2|occurrence=1 — Ancestor (broader)
Introduced tests:
inline 1|occurrence=1 — Ancestor (broader)
Introduced tests:
tokensStore.test|title=TokensStore issue #86303 - color shifting between different tokens|occurrence=1 — Ancestor (broader)
Introduced tests:
sparseMultilineTokens.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
tokensStore.test|title=TokensStore deleting a newline|occurrence=1 — Ancestor (broader)
Introduced tests:
sparseMultilineTokens.ts ×2 — Ancestor (broader)
Introduced files:
sparseMultilineTokens.ts ×2 — Ancestor (broader)
Introduced files:
sparseMultilineTokens.ts ×9 — Ancestor (broader)
Introduced files:
model.test|title=Editor Model - Model model insert text without newline 2|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=random is unsupervised random chunks|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=random is unsupervised random insert delete|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=random is unsupervised random chunks 2|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeBase.ts ×1 — Ancestor (broader)
Introduced files:
pieceTreeTextBuffer.test|title=get text in range random tests bug 2|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=centralized lineStarts with CRLF random bug 9|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeBase.ts ×8 — Ancestor (broader)
Introduced files:
Introduced tests:
pieceTreeTextBuffer.test|title=get text in range random test value in range|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=get text in range random tests bug 1|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=CRLF random bug 10|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=get text in range random 2|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.test|title=get text in range random 1|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeBase.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
pieceTreeTextBuffer.test|title=get text in range get line content|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeBase.ts ×2 — Descendant (narrower)
Introduced files:
rbTreeBase.ts ×1 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×3 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×4 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×1 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×4 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×6 — Descendant (narrower)
Introduced files:
rbTreeBase.ts ×2 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×3 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×2 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×2 — Descendant (narrower)
Introduced files:
rbTreeBase.ts ×3 — Descendant (narrower)
Introduced files:
rbTreeBase.ts ×2 — Descendant (narrower)
Introduced files:
testThemeService.ts ×18 — Descendant (narrower)
Introduced files:
modelService.ts ×30 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×1 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×3 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×2 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×1 — Descendant (narrower)
Introduced files:
rbTreeBase.ts ×6 — Descendant (narrower)
Introduced files:
pieceTreeBase.ts ×1 — Descendant (narrower)
Introduced files:
pieceTreeTextBufferBuilder.ts ×19 — Descendant (narrower)
Introduced files:
textModel.ts ×190 — Descendant (narrower)
Introduced files:
tokenizer.ts ×18 — Descendant (narrower)
Introduced files:
testTextResourcePropertiesService.ts ×3 — Descendant (narrower)
Introduced files:
languageService.ts ×24 — Descendant (narrower)
Introduced files:
textResourceConfiguration.ts ×1 — Descendant (narrower)
Introduced files:
testLanguageConfigurationService.ts ×4 — Descendant (narrower)
Introduced files:
languageConfigurationRegistry.ts ×28 — Descendant (narrower)
Introduced files:
environment.ts ×1 — Descendant (narrower)
Introduced files:
textModelTokens.ts ×44 — Descendant (narrower)
Introduced files:
editStack.ts ×46 — Descendant (narrower)
Introduced files:
textModelEvents.ts ×25 — Descendant (narrower)
Introduced files:
log.ts ×72 — Descendant (narrower)
Introduced files:
languagesRegistry.ts ×26 — Descendant (narrower)
Introduced files:
themeService.ts ×3 — Descendant (narrower)
Introduced files:
colorUtils.ts ×16 — Descendant (narrower)
Introduced files:
onEnter.ts ×6 — Descendant (narrower)
Introduced files:
languagesAssociations.ts ×11 — Descendant (narrower)
Introduced files:
editorOptions.ts ×92 — Descendant (narrower)
Introduced files:
model.ts ×1 — Descendant (narrower)
Introduced files:
lineTokens.ts ×55 — Descendant (narrower)
Introduced files:
lineEdit.ts ×27 — Descendant (narrower)
Introduced files:
electricCharacter.ts ×4 — Descendant (narrower)
Introduced files:
instantiationServiceMock.ts ×18 — Descendant (narrower)
Introduced files:
instantiationService.ts ×21 — Descendant (narrower)
Introduced files:
annotations.ts ×15 — Descendant (narrower)
Introduced files:
languageSelector.ts ×3 — Descendant (narrower)
Introduced files:
glob.ts ×24 — Descendant (narrower)
Introduced files:
stringEdit.ts ×63 — Descendant (narrower)
Introduced files:
ast.ts ×2 — Descendant (narrower)
Introduced files:
concat23Trees.ts ×6 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
ast.ts ×2 — Descendant (narrower)
Introduced files:
ast.ts ×1 — Descendant (narrower)
Introduced files:
ast.ts ×1 — Descendant (narrower)
Introduced files:
ast.ts ×76 — Descendant (narrower)
Introduced files:
serviceCollection.ts ×5 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×3 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×2 — Descendant (narrower)
Introduced files:
contextkey.ts ×1 — Descendant (narrower)
Introduced files:
contextkey.ts ×201 — Descendant (narrower)
Introduced files:
assert.ts ×2 — Descendant (narrower)
Introduced files:
textEdit.ts ×1 — Descendant (narrower)
Introduced files:
textEdit.ts ×35 — Descendant (narrower)
Introduced files:
debugGetDependencyGraph.ts ×2 — Descendant (narrower)
Introduced files:
observableSignalFromEvent.ts ×1 — Descendant (narrower)
Introduced files:
promise.ts ×1 — Descendant (narrower)
Introduced files:
devToolsLogger.ts ×24 — Descendant (narrower)
Introduced files:
undoRedoService.ts ×83 — Descendant (narrower)
Introduced files:
abstractText.ts ×16 — Descendant (narrower)
Introduced files:
beforeEditPositionMapper.ts ×11 — Descendant (narrower)
Introduced files:
languages.ts ×27 — Descendant (narrower)
Introduced files:
characterPair.ts ×5 — Descendant (narrower)
Introduced files:
length.ts ×22 — Descendant (narrower)
Introduced files:
supports.ts ×10 — Descendant (narrower)
Introduced files:
testConfigurationService.ts ×10 — Descendant (narrower)
Introduced files:
richEditBrackets.ts ×22 — Descendant (narrower)
Introduced files:
textLength.ts ×21 — Descendant (narrower)
Introduced files:
modesRegistry.ts ×3 — Descendant (narrower)
Introduced files:
textModelSearch.ts ×26 — Descendant (narrower)
Introduced files:
language.ts ×1 — Descendant (narrower)
Introduced files:
textChange.ts ×26 — Descendant (narrower)
Introduced files:
testNotificationService.ts ×10 — Descendant (narrower)
Introduced files:
selection.ts ×16 — Descendant (narrower)
Introduced files:
stringBuilder.ts ×14 — Descendant (narrower)
Introduced files:
hash.ts ×17 — Descendant (narrower)
Introduced files:
dialogs.ts ×8 — Descendant (narrower)
Introduced files:
notification.ts ×1 — Descendant (narrower)
Introduced files:
notification.ts ×3 — Descendant (narrower)
Introduced files:
mock.ts ×4 — Descendant (narrower)
Introduced files:
undoRedo.ts ×4 — Descendant (narrower)
Introduced files:
ternarySearchTree.ts ×60 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
languageConfiguration.ts ×7 — Descendant (narrower)
Introduced files:
wordHelper.ts ×5 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
severity.ts ×3 — Descendant (narrower)
Introduced files:
cursorColumns.ts ×9 — Descendant (narrower)
Introduced files:
extensions.ts ×1 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
descriptors.ts ×1 — Descendant (narrower)
Introduced files:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
instantiation.ts ×1 — Descendant (narrower)
Introduced files:
descriptors.ts ×2 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×40 — Descendant (narrower)
Introduced files:
jsonContributionRegistry.ts ×9 — Descendant (narrower)
Introduced files:
scrollable.ts ×32 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×5 — Descendant (narrower)
Introduced files:
lineRange.ts ×40 — Descendant (narrower)
Introduced files:
event.ts ×8 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1, lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
tokenization.ts ×28 — Descendant (narrower)
Introduced files:
color.ts ×1 — Descendant (narrower)
Introduced files:
color.ts ×1 — Descendant (narrower)
Introduced files:
intervalTree.ts ×44 — Descendant (narrower)
Introduced files:
color.ts ×1 — Descendant (narrower)
Introduced files:
color.ts ×1 — Descendant (narrower)
Introduced files:
color.ts ×1 — Descendant (narrower)
Introduced files:
color.ts ×2 — Descendant (narrower)
Introduced files:
color.ts ×1 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
range.ts ×40 — Descendant (narrower)
Introduced files:
color.ts ×55 — Descendant (narrower)
Introduced files:
offsetRange.ts ×40 — Descendant (narrower)
Introduced files:
tokenStore.ts ×32 — Descendant (narrower)
Introduced files:
model.ts ×10 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
position.ts ×16 — Descendant (narrower)
Introduced files:
smallImmutableSet.ts ×14 — Descendant (narrower)
Introduced files:
configuration.ts ×12 — Descendant (narrower)
Introduced files:
date.ts ×10 — Descendant (narrower)
Introduced files:
numbers.ts ×13 — Descendant (narrower)
Introduced files:
characterClassifier.ts ×10 — Descendant (narrower)
Introduced files:
encodedTokenAttributes.ts ×10 — Descendant (narrower)
Introduced files:
codicons.ts ×2 — Descendant (narrower)
Introduced files:
equals.ts ×14 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
platform.ts ×1 — Descendant (narrower)
Introduced files:
assert.ts ×2 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
graph.ts ×12 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
product.ts ×4 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
telemetry.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
errorMessage.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
nls.ts ×6 — Descendant (narrower)
Introduced files:
objects.ts ×13 — Descendant (narrower)
Introduced files:
instantiation.ts ×5 — Descendant (narrower)
Introduced files:
jsonSchema.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
types.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
uuid.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: 6 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.ts 6 introduced LOC · 1 range
Open complete file
1313
return ret ;
1314
} else {
1315
>
const startOffset = this . offsetInBuffer ( x . piece . bufferIndex , x . piece . start );
pieceTreeBase.ts
1316
>
ret += buffer . substr ( startOffset , x . piece . length );
1317
>
}
1318
>
1319
>
x = x . next ();
1320
>
}
1321
1322
return ret ;