12 instantiations of TextSpan
PresentationCore (6)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
2133lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun)); 2146lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun));
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
912textRunSpans[i] = new TextSpan<TextRun>(_runs[i].Length, _runs[i].TextRun);
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
191return new TextSpan<CultureSpecificCharacterBufferRange> (
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
316return new TextSpan<CultureSpecificCharacterBufferRange>(
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
1930return new TextSpan<CultureSpecificCharacterBufferRange> (
PresentationFramework (6)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
134return new TextSpan<CultureSpecificCharacterBufferRange>(
src\Framework\MS\Internal\PtsHost\Line.cs (1)
228return new TextSpan<CultureSpecificCharacterBufferRange>(
src\Framework\MS\Internal\PtsHost\ListMarkerLine.cs (1)
74return new TextSpan<CultureSpecificCharacterBufferRange>(
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
179return new TextSpan<CultureSpecificCharacterBufferRange>(
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
116return new TextSpan<CultureSpecificCharacterBufferRange>(
src\Framework\MS\Internal\Text\SimpleLine.cs (1)
97return new TextSpan<CultureSpecificCharacterBufferRange> (
47 references to TextSpan
PresentationCore (20)
Core\CSharp\MS\Internal\TextFormatting\FormatSettings.cs (1)
273internal TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int cpLimit)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (4)
2099public override IList<TextSpan<TextRun>> GetTextRunSpans() 2109return new TextSpan<TextRun>[0]; 2112IList<TextSpan<TextRun>> lsrunList = new List<TextSpan<TextRun>>(2);
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (3)
906public override IList<TextSpan<TextRun>> GetTextRunSpans() 908TextSpan<TextRun>[] textRunSpans = new TextSpan<TextRun>[_runs.Length];
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
177public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
291internal TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(TextSource textSource, int cpLimit) 332internal IList<TextSpan<TextRun>> GetTextRunSpans() 334IList<TextSpan<TextRun>> textRunList = new List<TextSpan<TextRun>>(_textRunVector.Count);
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (2)
1219TextSpan<CultureSpecificCharacterBufferRange> textSpan = _settings.GetPrecedingText(limitCp); 2644TextSpan<CultureSpecificCharacterBufferRange> textSpan = _settings.GetPrecedingText(_cpFirst);
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
1907public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(
Core\CSharp\System\Windows\Media\TextFormatting\TextLine.cs (1)
196public abstract IList<TextSpan<TextRun>> GetTextRunSpans();
Core\CSharp\System\Windows\Media\TextFormatting\TextRunCache.cs (2)
89internal IList<TextSpan<TextRun>> GetTextRunSpans() 98return new TextSpan<TextRun>[0];
Core\CSharp\System\Windows\Media\TextFormatting\TextSource.cs (1)
53public abstract TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(
PresentationFramework (27)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (3)
113public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 386IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 387return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
src\Framework\MS\Internal\PtsHost\Line.cs (11)
195internal override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 309foreach (TextSpan<TextRun> textSpan in _runs) 396IList<TextSpan<TextRun>> runs = _runs; 417foreach (TextSpan<TextRun> textSpan in runs) 683IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 704foreach (TextSpan<TextRun> textSpan in spans) 725foreach (TextSpan<TextRun> span in spans) 874return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 950TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun; 980foreach (TextSpan<TextRun> textSpan in _runs) 1277private IList<TextSpan<TextRun>> _runs;
src\Framework\MS\Internal\PtsHost\LineBase.cs (1)
62internal abstract TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp);
src\Framework\MS\Internal\PtsHost\ListMarkerLine.cs (1)
71internal override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp)
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (2)
145internal override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 208foreach (TextSpan<TextRun> textSpan in _runCache.GetTextRunSpans())
src\Framework\MS\Internal\PtsHost\TextFormatterHost.cs (1)
60public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int textSourceCharacterIndexLimit)
src\Framework\MS\Internal\Text\ComplexLine.cs (5)
85public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp) 162IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 167foreach (TextSpan<TextRun> textSpan in runs) 237IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 239foreach (TextSpan<TextRun> textSpan in runs)
src\Framework\MS\Internal\Text\Line.cs (2)
428IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 429return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
src\Framework\MS\Internal\Text\SimpleLine.cs (1)
80public override TextSpan<CultureSpecificCharacterBufferRange> GetPrecedingText(int dcp)