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