2 instantiations of TextStore
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (2)
88TextStore store = new TextStore( 103markerStore = new TextStore(
81 references to TextStore
PresentationCore (81)
Core\CSharp\MS\Internal\TextFormatting\FormatSettings.cs (4)
224charString = new CharacterBufferRange((char*) TextStore.PwchObjectReplacement, 1); 237charString = new CharacterBufferRange((char*) TextStore.PwchLineSeparator, 1); 250charString = new CharacterBufferRange((char*) TextStore.PwchParaSeparator, 1); 257charString = new CharacterBufferRange((char*) TextStore.PwchHidden, 1);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (10)
233TextStore store = fullText.TextStore; 234TextStore markerStore = fullText.TextMarkerStore; 506TextStore store, 546} while ( !TextStore.IsNewline(lsrun.Type) 2039if(TextStore.IsContent(plsrun)) 2803plsrun = TextStore.ToIndex(plsrun); 2823if (TextStore.IsMarker(plsrun)) 2828plsrun = TextStore.ToIndex(plsrun); 2831TextStore.IsContent(plsrun) ? 2833TextStore.ControlRuns[(int)plsrun]
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (13)
36private TextStore _store; // formatting store for main text 37private TextStore _markerStore; // store specifically for marker 88TextStore store = new TextStore( 96TextStore markerStore = null; 116TextStore.LscpFirstMarker, // first lscp value for marker text 130TextStore store, 131TextStore markerStore, 322Debug.Assert(!TextStore.IsMarker(plsrun)); 571internal TextStore StoreFrom(Plsrun plsrun) 573return TextStore.IsMarker(plsrun) ? _markerStore : _store; 580internal TextStore StoreFrom(int lscp) 630internal TextStore TextStore 639internal TextStore TextMarkerStore
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (31)
132TextStore store = fullTextState.StoreFrom(lscpFetch); 191lschp.idObj = (ushort)TextStore.ObjectId.Reverse; 196lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 200lschp.idObj = (ushort)TextStore.ObjectId.InlineObject; 205lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 211Debug.Assert(TextStore.IsContent(plsrun), "Unrecognizable run!"); 214lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 239Invariant.Assert(!TextStore.IsNewline(lsrun.CharacterAttributeFlags)); 245lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 338TextStore store = FullText.StoreFrom(lscpFetch); 429TextStore store = FullText.TextStore; 430TextStore markerStore = FullText.TextMarkerStore; 481TextStore store = fullText.StoreFrom(plsrun); 671TextStore markerStore = fullTextState.TextMarkerStore; 672TextStore store = fullTextState.TextStore; 675int lscp = TextStore.LscpFirstMarker; 693} while (!TextStore.IsContent(plsrun)); 698lschp.idObj = (ushort)TextStore.ObjectId.Text_chp; 746!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 814!TextStore.IsContent(plsrun) || lsrun.Type == Plsrun.Text || lsrun.Type == Plsrun.InlineObject, 1024if (!TextStore.IsContent(plsrun)) 1094if (!TextStore.IsContent(plsrun)) 1621TextStore store = FullText.StoreFrom(plsrunFirst); 1623if ( !TextStore.IsContent(plsrunFirst) 1624|| !TextStore.IsContent(plsrunSecond)) 1898TextStore store = FullText.StoreFrom((Plsrun)(*plsplsruns)); 1904Debug.Assert(TextStore.IsContent(plsrun) && lsruns[i] != null); 1945Debug.Assert(TextStore.IsContent(plsrun) && lsrun.Shapeable != null); 2477if (objectId < (uint)TextStore.ObjectId.MaxNative) 2491case (uint)TextStore.ObjectId.InlineObject: 2545TextStore store = FullText.StoreFrom(plsrun);
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (9)
189if (nonHiddenLength >= TextStore.MaxCharactersPerLine) 1510if (charString[0] == TextStore.CharCarriageReturn) 1515if (charString.Length > 1 && charString[1] == TextStore.CharLineFeed) 1534if (newBufferRange.Length > 0 && newBufferRange[0] == TextStore.CharLineFeed) 1539characterArray[0] = TextStore.CharCarriageReturn; 1540characterArray[1] = TextStore.CharLineFeed; 1548else if (charString[0] == TextStore.CharLineFeed) 1555else if (canProcessTabsInSimpleShapingPath && charString[0] == TextStore.CharTab) 1971if (TextStore.IsSpace(ch))
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (1)
149TextStore store = fullText.TextStore;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
205int looseCharLength = TextStore.TypicalCharactersPerLine - cpFetch + cpFirst; 212looseCharLength = (int)Math.Round(TextStore.TypicalCharactersPerLine * 0.25); 235int lookAheadLimit = Math.Min(runLength, looseCharLength + TextStore.TypicalCharactersPerLine);
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (4)
94contextInfo.cEstimatedCharsPerLine = TextStore.TypicalCharactersPerLine; 108contextInfo.wchEndPara1 = TextStore.CharParaSeparator; // Unicode para separator 139contextInfo.wchEscAnmRun = TextStore.CharParaSeparator; 141contextInfo.wchEndLineInPara = TextStore.CharLineSeparator;
Core\CSharp\System\Windows\Media\Typeface.cs (6)
444if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab)) 487if (ch == TextStore.CharLineFeed || ch == TextStore.CharCarriageReturn || (breakOnTabs && ch == TextStore.CharTab))