2 instantiations of TextStore
PresentationCore (2)
MS\Internal\TextFormatting\FullTextState.cs (2)
73TextStore store = new TextStore( 88markerStore = new TextStore(
81 references to TextStore
PresentationCore (81)
MS\Internal\TextFormatting\FormatSettings.cs (4)
212charString = new CharacterBufferRange((char*) TextStore.PwchObjectReplacement, 1); 225charString = new CharacterBufferRange((char*) TextStore.PwchLineSeparator, 1); 238charString = new CharacterBufferRange((char*) TextStore.PwchParaSeparator, 1); 245charString = new CharacterBufferRange((char*) TextStore.PwchHidden, 1);
MS\Internal\TextFormatting\FullTextLine.cs (10)
197TextStore store = fullText.TextStore; 198TextStore markerStore = fullText.TextMarkerStore; 470TextStore store, 509} while ( !TextStore.IsNewline(lsrun.Type) 1990if(TextStore.IsContent(plsrun)) 2728plsrun = TextStore.ToIndex(plsrun); 2748if (TextStore.IsMarker(plsrun)) 2753plsrun = TextStore.ToIndex(plsrun); 2756TextStore.IsContent(plsrun) ? 2758TextStore.ControlRuns[(int)plsrun]
MS\Internal\TextFormatting\FullTextState.cs (13)
21private TextStore _store; // formatting store for main text 22private TextStore _markerStore; // store specifically for marker 73TextStore store = new TextStore( 81TextStore markerStore = null; 101TextStore.LscpFirstMarker, // first lscp value for marker text 115TextStore store, 116TextStore markerStore, 298Debug.Assert(!TextStore.IsMarker(plsrun)); 546internal TextStore StoreFrom(Plsrun plsrun) 548return TextStore.IsMarker(plsrun) ? _markerStore : _store; 555internal TextStore StoreFrom(int lscp) 605internal TextStore TextStore 614internal TextStore TextMarkerStore
MS\Internal\TextFormatting\LineServicesCallbacks.cs (31)
83TextStore store = fullTextState.StoreFrom(lscpFetch); 142lschp.idObj = (ushort)TextStore.ObjectId.Reverse; 147lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 151lschp.idObj = (ushort)TextStore.ObjectId.InlineObject; 156lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 162Debug.Assert(TextStore.IsContent(plsrun), "Unrecognizable run!"); 165lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 190Invariant.Assert(!TextStore.IsNewline(lsrun.CharacterAttributeFlags)); 196lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 280TextStore store = FullText.StoreFrom(lscpFetch); 367TextStore store = FullText.TextStore; 368TextStore markerStore = FullText.TextMarkerStore; 415TextStore store = fullText.StoreFrom(plsrun); 592TextStore markerStore = fullTextState.TextMarkerStore; 593TextStore store = fullTextState.TextStore; 596int lscp = TextStore.LscpFirstMarker; 614} while (!TextStore.IsContent(plsrun)); 620idObj = (ushort)TextStore.ObjectId.Text_chp 665!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 729!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 922if (!TextStore.IsContent(plsrun)) 987if (!TextStore.IsContent(plsrun)) 1493TextStore store = FullText.StoreFrom(plsrunFirst); 1495if ( !TextStore.IsContent(plsrunFirst) 1496|| !TextStore.IsContent(plsrunSecond)) 1758TextStore store = FullText.StoreFrom((Plsrun)(*plsplsruns)); 1764Debug.Assert(TextStore.IsContent(plsrun) && lsruns[i] != null); 1800Debug.Assert(TextStore.IsContent(plsrun) && lsrun.Shapeable != null); 2292if (objectId < (uint)TextStore.ObjectId.MaxNative) 2306case (uint)TextStore.ObjectId.InlineObject: 2358TextStore store = FullText.StoreFrom(plsrun);
MS\Internal\TextFormatting\SimpleTextLine.cs (9)
177if (nonHiddenLength >= TextStore.MaxCharactersPerLine) 1487if (charString[0] == TextStore.CharCarriageReturn) 1492if (charString.Length > 1 && charString[1] == TextStore.CharLineFeed) 1511if (newBufferRange.Length > 0 && newBufferRange[0] == TextStore.CharLineFeed) 1516characterArray[0] = TextStore.CharCarriageReturn; 1517characterArray[1] = TextStore.CharLineFeed; 1524else if (charString[0] == TextStore.CharLineFeed) 1531else if (canProcessTabsInSimpleShapingPath && charString[0] == TextStore.CharTab) 1946if (TextStore.IsSpace(ch))
MS\Internal\TextFormatting\TextMetrics.cs (1)
128TextStore store = fullText.TextStore;
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
185int looseCharLength = TextStore.TypicalCharactersPerLine - cpFetch + cpFirst; 192looseCharLength = (int)Math.Round(TextStore.TypicalCharactersPerLine * 0.25); 215int lookAheadLimit = Math.Min(runLength, looseCharLength + TextStore.TypicalCharactersPerLine);
System\Windows\Media\textformatting\TextFormatterContext.cs (4)
54contextInfo.cEstimatedCharsPerLine = TextStore.TypicalCharactersPerLine; 68contextInfo.wchEndPara1 = TextStore.CharParaSeparator; // Unicode para separator 99contextInfo.wchEscAnmRun = TextStore.CharParaSeparator; 101contextInfo.wchEndLineInPara = TextStore.CharLineSeparator;
System\Windows\Media\Typeface.cs (6)
429if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab)) 472if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab))