2 instantiations of TextStore
PresentationCore (2)
MS\Internal\TextFormatting\FullTextState.cs (2)
79TextStore store = new TextStore( 94markerStore = new TextStore(
81 references to TextStore
PresentationCore (81)
MS\Internal\TextFormatting\FormatSettings.cs (4)
217charString = new CharacterBufferRange((char*) TextStore.PwchObjectReplacement, 1); 230charString = new CharacterBufferRange((char*) TextStore.PwchLineSeparator, 1); 243charString = new CharacterBufferRange((char*) TextStore.PwchParaSeparator, 1); 250charString = new CharacterBufferRange((char*) TextStore.PwchHidden, 1);
MS\Internal\TextFormatting\FullTextLine.cs (10)
210TextStore store = fullText.TextStore; 211TextStore markerStore = fullText.TextMarkerStore; 483TextStore store, 522} while ( !TextStore.IsNewline(lsrun.Type) 2003if(TextStore.IsContent(plsrun)) 2741plsrun = TextStore.ToIndex(plsrun); 2761if (TextStore.IsMarker(plsrun)) 2766plsrun = TextStore.ToIndex(plsrun); 2769TextStore.IsContent(plsrun) ? 2771TextStore.ControlRuns[(int)plsrun]
MS\Internal\TextFormatting\FullTextState.cs (13)
27private TextStore _store; // formatting store for main text 28private TextStore _markerStore; // store specifically for marker 79TextStore store = new TextStore( 87TextStore markerStore = null; 107TextStore.LscpFirstMarker, // first lscp value for marker text 121TextStore store, 122TextStore markerStore, 302Debug.Assert(!TextStore.IsMarker(plsrun)); 550internal TextStore StoreFrom(Plsrun plsrun) 552return TextStore.IsMarker(plsrun) ? _markerStore : _store; 559internal TextStore StoreFrom(int lscp) 609internal TextStore TextStore 618internal TextStore TextMarkerStore
MS\Internal\TextFormatting\LineServicesCallbacks.cs (31)
113TextStore store = fullTextState.StoreFrom(lscpFetch); 172lschp.idObj = (ushort)TextStore.ObjectId.Reverse; 177lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 181lschp.idObj = (ushort)TextStore.ObjectId.InlineObject; 186lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 192Debug.Assert(TextStore.IsContent(plsrun), "Unrecognizable run!"); 195lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 220Invariant.Assert(!TextStore.IsNewline(lsrun.CharacterAttributeFlags)); 226lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 310TextStore store = FullText.StoreFrom(lscpFetch); 397TextStore store = FullText.TextStore; 398TextStore markerStore = FullText.TextMarkerStore; 445TextStore store = fullText.StoreFrom(plsrun); 622TextStore markerStore = fullTextState.TextMarkerStore; 623TextStore store = fullTextState.TextStore; 626int lscp = TextStore.LscpFirstMarker; 644} while (!TextStore.IsContent(plsrun)); 649lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 693!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 757!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 950if (!TextStore.IsContent(plsrun)) 1015if (!TextStore.IsContent(plsrun)) 1521TextStore store = FullText.StoreFrom(plsrunFirst); 1523if ( !TextStore.IsContent(plsrunFirst) 1524|| !TextStore.IsContent(plsrunSecond)) 1786TextStore store = FullText.StoreFrom((Plsrun)(*plsplsruns)); 1792Debug.Assert(TextStore.IsContent(plsrun) && lsruns[i] != null); 1828Debug.Assert(TextStore.IsContent(plsrun) && lsrun.Shapeable != null); 2320if (objectId < (uint)TextStore.ObjectId.MaxNative) 2334case (uint)TextStore.ObjectId.InlineObject: 2384TextStore store = FullText.StoreFrom(plsrun);
MS\Internal\TextFormatting\SimpleTextLine.cs (9)
186if (nonHiddenLength >= TextStore.MaxCharactersPerLine) 1496if (charString[0] == TextStore.CharCarriageReturn) 1501if (charString.Length > 1 && charString[1] == TextStore.CharLineFeed) 1520if (newBufferRange.Length > 0 && newBufferRange[0] == TextStore.CharLineFeed) 1525characterArray[0] = TextStore.CharCarriageReturn; 1526characterArray[1] = TextStore.CharLineFeed; 1533else if (charString[0] == TextStore.CharLineFeed) 1540else if (canProcessTabsInSimpleShapingPath && charString[0] == TextStore.CharTab) 1951if (TextStore.IsSpace(ch))
MS\Internal\TextFormatting\TextMetrics.cs (1)
143TextStore store = fullText.TextStore;
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
199int looseCharLength = TextStore.TypicalCharactersPerLine - cpFetch + cpFirst; 206looseCharLength = (int)Math.Round(TextStore.TypicalCharactersPerLine * 0.25); 229int lookAheadLimit = Math.Min(runLength, looseCharLength + TextStore.TypicalCharactersPerLine);
System\Windows\Media\textformatting\TextFormatterContext.cs (4)
78contextInfo.cEstimatedCharsPerLine = TextStore.TypicalCharactersPerLine; 92contextInfo.wchEndPara1 = TextStore.CharParaSeparator; // Unicode para separator 123contextInfo.wchEscAnmRun = TextStore.CharParaSeparator; 125contextInfo.wchEndLineInPara = TextStore.CharLineSeparator;
System\Windows\Media\Typeface.cs (6)
438if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab)) 481if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab))