2 instantiations of TextStore
PresentationCore (2)
MS\Internal\TextFormatting\FullTextState.cs (2)
72TextStore store = new TextStore( 87markerStore = new TextStore(
81 references to TextStore
PresentationCore (81)
MS\Internal\TextFormatting\FormatSettings.cs (4)
211charString = new CharacterBufferRange((char*) TextStore.PwchObjectReplacement, 1); 224charString = new CharacterBufferRange((char*) TextStore.PwchLineSeparator, 1); 237charString = new CharacterBufferRange((char*) TextStore.PwchParaSeparator, 1); 244charString = new CharacterBufferRange((char*) TextStore.PwchHidden, 1);
MS\Internal\TextFormatting\FullTextLine.cs (10)
196TextStore store = fullText.TextStore; 197TextStore markerStore = fullText.TextMarkerStore; 469TextStore store, 508} while ( !TextStore.IsNewline(lsrun.Type) 1989if(TextStore.IsContent(plsrun)) 2727plsrun = TextStore.ToIndex(plsrun); 2747if (TextStore.IsMarker(plsrun)) 2752plsrun = TextStore.ToIndex(plsrun); 2755TextStore.IsContent(plsrun) ? 2757TextStore.ControlRuns[(int)plsrun]
MS\Internal\TextFormatting\FullTextState.cs (13)
20private TextStore _store; // formatting store for main text 21private TextStore _markerStore; // store specifically for marker 72TextStore store = new TextStore( 80TextStore markerStore = null; 100TextStore.LscpFirstMarker, // first lscp value for marker text 114TextStore store, 115TextStore markerStore, 297Debug.Assert(!TextStore.IsMarker(plsrun)); 545internal TextStore StoreFrom(Plsrun plsrun) 547return TextStore.IsMarker(plsrun) ? _markerStore : _store; 554internal TextStore StoreFrom(int lscp) 604internal TextStore TextStore 613internal TextStore TextMarkerStore
MS\Internal\TextFormatting\LineServicesCallbacks.cs (31)
82TextStore store = fullTextState.StoreFrom(lscpFetch); 141lschp.idObj = (ushort)TextStore.ObjectId.Reverse; 146lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 150lschp.idObj = (ushort)TextStore.ObjectId.InlineObject; 155lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 161Debug.Assert(TextStore.IsContent(plsrun), "Unrecognizable run!"); 164lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 189Invariant.Assert(!TextStore.IsNewline(lsrun.CharacterAttributeFlags)); 195lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 279TextStore store = FullText.StoreFrom(lscpFetch); 366TextStore store = FullText.TextStore; 367TextStore markerStore = FullText.TextMarkerStore; 414TextStore store = fullText.StoreFrom(plsrun); 591TextStore markerStore = fullTextState.TextMarkerStore; 592TextStore store = fullTextState.TextStore; 595int lscp = TextStore.LscpFirstMarker; 613} while (!TextStore.IsContent(plsrun)); 619idObj = (ushort)TextStore.ObjectId.Text_chp 664!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 728!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 921if (!TextStore.IsContent(plsrun)) 986if (!TextStore.IsContent(plsrun)) 1492TextStore store = FullText.StoreFrom(plsrunFirst); 1494if ( !TextStore.IsContent(plsrunFirst) 1495|| !TextStore.IsContent(plsrunSecond)) 1757TextStore store = FullText.StoreFrom((Plsrun)(*plsplsruns)); 1763Debug.Assert(TextStore.IsContent(plsrun) && lsruns[i] != null); 1799Debug.Assert(TextStore.IsContent(plsrun) && lsrun.Shapeable != null); 2291if (objectId < (uint)TextStore.ObjectId.MaxNative) 2305case (uint)TextStore.ObjectId.InlineObject: 2357TextStore store = FullText.StoreFrom(plsrun);
MS\Internal\TextFormatting\SimpleTextLine.cs (9)
176if (nonHiddenLength >= TextStore.MaxCharactersPerLine) 1480if (charString[0] == TextStore.CharCarriageReturn) 1485if (charString.Length > 1 && charString[1] == TextStore.CharLineFeed) 1504if (newBufferRange.Length > 0 && newBufferRange[0] == TextStore.CharLineFeed) 1509characterArray[0] = TextStore.CharCarriageReturn; 1510characterArray[1] = TextStore.CharLineFeed; 1517else if (charString[0] == TextStore.CharLineFeed) 1524else if (canProcessTabsInSimpleShapingPath && charString[0] == TextStore.CharTab) 1939if (TextStore.IsSpace(ch))
MS\Internal\TextFormatting\TextMetrics.cs (1)
127TextStore store = fullText.TextStore;
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
184int looseCharLength = TextStore.TypicalCharactersPerLine - cpFetch + cpFirst; 191looseCharLength = (int)Math.Round(TextStore.TypicalCharactersPerLine * 0.25); 214int lookAheadLimit = Math.Min(runLength, looseCharLength + TextStore.TypicalCharactersPerLine);
System\Windows\Media\textformatting\TextFormatterContext.cs (4)
53contextInfo.cEstimatedCharsPerLine = TextStore.TypicalCharactersPerLine; 67contextInfo.wchEndPara1 = TextStore.CharParaSeparator; // Unicode para separator 98contextInfo.wchEscAnmRun = TextStore.CharParaSeparator; 100contextInfo.wchEndLineInPara = TextStore.CharLineSeparator;
System\Windows\Media\Typeface.cs (6)
428if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab)) 471if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab))