13 instantiations of TextSpan
PresentationCore (7)
MS\Internal\TextFormatting\FullTextLine.cs (2)
2097lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun)); 2110lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun));
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
902textRunSpans[i] = new TextSpan<TextRun>(_runs[i].Length, _runs[i].TextRun);
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
188return new TextSpan<CultureSpecificCharacterBufferRange> (
MS\Internal\TextFormatting\TextRunCacheImp.cs (2)
310return new TextSpan<CultureSpecificCharacterBufferRange>( 333textRunList[i] = new TextSpan<TextRun>(currentSpan.length, currentSpan.element as TextRun);
System\Windows\Media\FormattedText.cs (1)
1913return new TextSpan<CultureSpecificCharacterBufferRange> (
PresentationFramework (6)
MS\Internal\Documents\TextBoxLine.cs (1)
132return new TextSpan<CultureSpecificCharacterBufferRange>(
MS\Internal\PtsHost\Line.cs (1)
225return new TextSpan<CultureSpecificCharacterBufferRange>(
MS\Internal\PtsHost\ListMarkerLine.cs (1)
70return new TextSpan<CultureSpecificCharacterBufferRange>(
MS\Internal\PtsHost\OptimalTextSource.cs (1)
175return new TextSpan<CultureSpecificCharacterBufferRange>(
MS\Internal\Text\ComplexLine.cs (1)
113return new TextSpan<CultureSpecificCharacterBufferRange>(
MS\Internal\Text\SimpleLine.cs (1)
94return new TextSpan<CultureSpecificCharacterBufferRange> (
47 references to TextSpan
PresentationCore (20)
MS\Internal\TextFormatting\FormatSettings.cs (1)
266internal TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int cpLimit)
MS\Internal\TextFormatting\FullTextLine.cs (4)
2063public override IList<TextSpan<TextRun>> GetTextRunSpans() 2073return Array.Empty<TextSpan<TextRun>>(); 2076List<TextSpan<TextRun>> lsrunList = new List<TextSpan<TextRun>>(2);
MS\Internal\TextFormatting\SimpleTextLine.cs (3)
896public override IList<TextSpan<TextRun>> GetTextRunSpans() 898TextSpan<TextRun>[] textRunSpans = new TextSpan<TextRun>[_runs.Length];
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
174public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
285internal TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(TextSource textSource, int cpLimit) 326internal IList<TextSpan<TextRun>> GetTextRunSpans() 328TextSpan<TextRun>[] textRunList = new TextSpan<TextRun>[_textRunVector.Count];
MS\Internal\TextFormatting\TextStore.cs (2)
1208TextSpan<CultureSpecificCharacterBufferRange> textSpan = _settings.GetPrecedingText(limitCp); 2634TextSpan<CultureSpecificCharacterBufferRange> textSpan = _settings.GetPrecedingText(_cpFirst);
System\Windows\Media\FormattedText.cs (1)
1890public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(
System\Windows\Media\textformatting\TextLine.cs (1)
189public abstract IList<TextSpan<TextRun>> GetTextRunSpans();
System\Windows\Media\textformatting\TextRunCache.cs (2)
85internal IList<TextSpan<TextRun>> GetTextRunSpans() 94return Array.Empty<TextSpan<TextRun>>();
System\Windows\Media\textformatting\TextSource.cs (1)
51public abstract TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(
PresentationFramework (27)
MS\Internal\Documents\TextBoxLine.cs (3)
111public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 384IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 385return (((TextSpan<TextRun>)runs[runs.Count - 1]).Value is TextEndOfParagraph);
MS\Internal\PtsHost\Line.cs (11)
192internal override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 306foreach (TextSpan<TextRun> textSpan in _runs) 393IList<TextSpan<TextRun>> runs = _runs; 414foreach (TextSpan<TextRun> textSpan in runs) 680IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 701foreach (TextSpan<TextRun> textSpan in spans) 722foreach (TextSpan<TextRun> span in spans) 871return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 947TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun; 977foreach (TextSpan<TextRun> textSpan in _runs) 1269private IList<TextSpan<TextRun>> _runs;
MS\Internal\PtsHost\LineBase.cs (1)
59internal abstract TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp);
MS\Internal\PtsHost\ListMarkerLine.cs (1)
68internal override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp)
MS\Internal\PtsHost\OptimalTextSource.cs (2)
141internal override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 204foreach (TextSpan<TextRun> textSpan in _runCache.GetTextRunSpans())
MS\Internal\PtsHost\TextFormatterHost.cs (1)
57public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int textSourceCharacterIndexLimit)
MS\Internal\Text\ComplexLine.cs (5)
82public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 159IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 164foreach (TextSpan<TextRun> textSpan in runs) 234IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 236foreach (TextSpan<TextRun> textSpan in runs)
MS\Internal\Text\Line.cs (2)
425IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 426return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
MS\Internal\Text\SimpleLine.cs (1)
77public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp)