strings.ts ×2
Frontier kind: Joint frontier
unlabeled · c_649664a4c038
42 tests · 5012 LOC · 26 files · introduces 1 test · 10 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 10 lines · 1 files
Tests
1 test
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.
strings.ts ×2 — Focused concept
Introduced files:
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits high-low surrogates 1|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits issue #47733: Undo mangles unicode characters|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits high-low surrogates 2|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits high-low surrogates 3|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits high-low surrogates 4|occurrence=1 — Ancestor (broader)
Introduced tests:
textModelSearch.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainNonBasicASCII start with ASCII, insert NON-ASCII|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainNonBasicASCII start with NON-ASCII, insert ASCII|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainNonBasicASCII start with NON-ASCII, insert NON-ASCII|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainRTL start with LTR, insert RTL 1|occurrence=1, editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainRTL start with LTR, insert RTL 2|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainRTL start with RTL, insert LTR|occurrence=1, editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainRTL start with RTL, insert RTL|occurrence=1 — Ancestor (broader)
Introduced tests:
textModelSearch.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainNonBasicASCII start with NON-ASCII, delete NON-ASCII|occurrence=1 — Ancestor (broader)
Introduced tests:
editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits updates mightContainRTL start with RTL, delete RTL|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeTextBuffer.ts ×1 — Ancestor (broader)
Introduced files:
pieceTreeTextBuffer.ts ×1 — Ancestor (broader)
Introduced files:
model.test|title=Editor Model - Words issue #61296: VS code freezes when editing CSS file with emoji|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.test|title=TextModel.mightContainRTL setValue resets 2|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.test|title=TextModel.mightContainRTL setValue resets 1|occurrence=1 — Ancestor (broader)
Introduced tests:
unicodeTextModelHighlighter.ts ×19 — Ancestor (broader)
Introduced files:
Introduced tests:
model.test|title=Editor Model - Model Line Separators Bug 13333:Model should line break on lonely CR too|occurrence=1 — Ancestor (broader)
Introduced tests:
model.test|title=Editor Model - Model Line Separators model getValue|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
textModel.test|title=Editor Model - TextModel validateRange around high-low surrogate pairs 1|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.test|title=Editor Model - TextModel validatePosition around high-low surrogate pairs 1|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.ts ×1 — Ancestor (broader)
Introduced files:
textModel.ts ×1 — Ancestor (broader)
Introduced files:
textModel.ts ×2 — Ancestor (broader)
Introduced files:
textModel.ts ×1 — Ancestor (broader)
Introduced files:
textModel.ts ×2 — Ancestor (broader)
Introduced files:
textModel.test|title=Editor Model - TextModel validatePosition around high-low surrogate pairs 2|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.ts ×2 — Ancestor (broader)
Introduced files:
model.test|title=Editor Model - Model Line Separators model lines|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.test|title=TextModel.mightContainRTL yes|occurrence=1 — Ancestor (broader)
Introduced tests:
textModel.test|title=TextModelData.fromString containsRTL 1|occurrence=1, textModel.test|title=TextModelData.fromString containsRTL 2|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
linesTextBufferBuilder.test|title=ModelBuilder RTL handling 3|occurrence=1, linesTextBufferBuilder.test|title=ModelBuilder ASCII handling 2|occurrence=1 — Ancestor (broader)
Introduced tests:
linesTextBufferBuilder.test|title=ModelBuilder RTL handling 2|occurrence=1 — Ancestor (broader)
Introduced tests:
pieceTreeBase.ts ×1 — Ancestor (broader)
Introduced files:
strings.ts ×1 — Ancestor (broader)
Introduced files:
viewLineRenderer.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
viewLineRenderer.test|title=renderViewLine issue-137036|occurrence=1, viewLineRenderer.test|title=renderViewLine issue-260239|occurrence=1 — Ancestor (broader)
Introduced tests:
viewLineRenderer.test|title=renderViewLine issue-277693|occurrence=1 — Ancestor (broader)
Introduced tests:
viewLineRenderer.test|title=renderViewLine monaco-280|occurrence=1 — Ancestor (broader)
Introduced tests:
viewLineRenderer.test|title=renderViewLine issue-274604|occurrence=1 — Ancestor (broader)
Introduced tests:
viewLineRenderer.ts ×1 — Ancestor (broader)
Introduced files:
viewLineRenderer.test|title=renderViewLine issue-6885-rtl|occurrence=1 — Ancestor (broader)
Introduced tests:
viewLineRenderer.ts ×1 — Ancestor (broader)
Introduced files:
viewLineRenderer.ts ×4 — Ancestor (broader)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
strings.ts ×101 — 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:
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:
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.
1 test introduced at this concept.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 10 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/base/common/strings.ts 10 introduced LOC · 2 ranges
Open complete file
662
let CONTAINS_RTL : RegExp | undefined = undefined ;
663
665
>
// Generated using https://github.com/alexdima/unicode-utils/blob/main/rtl-test.js
666
>
return /(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/ ;
667
>
}
668
669
/**
671
*/
672
export function containsRTL ( str : string ) : boolean {
674
>
CONTAINS_RTL = makeContainsRtl ();
675
>
}
676
>
677
>
return CONTAINS_RTL . test ( str );
678
>
}
679
680
const IS_BASIC_ASCII = /^[\t\n\r\x20-\x7E]*$/ ;