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