MS\Internal\PtsHost\TextParaClient.cs (65)
585if (element.dcpFirst == dcpLine)
1045if (element.dcpFirst == dcpLine)
1302List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(element.dcpFirst, element.dcpLim);
1613lines.Add(new TextParaLineResult(this, element.dcpFirst, element.dcpLim - element.dcpFirst,
1759if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
1768ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
1771TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
1774Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
1963if (dcpEnd < elemDesc.dcpFirst)
1972if (dcpEnd <= elemDesc.dcpFirst)
1989int dcpRangeStartForThisElem = Math.Max(elemDesc.dcpFirst, dcpStart);
2211if (dcpRangeStart == elemDesc.dcpFirst && elemDesc.dcpLim <= (dcpRangeStart + cchRange))
2223ctx.LineFormatLengthTarget = elemDesc.dcpLim - elemDesc.dcpFirst;
2225TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst);
2226Invariant.Assert(line.SafeLength == elemDesc.dcpLim - elemDesc.dcpFirst, "Line length is out of sync");
2496if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
2510if (dcp == element.dcpFirst)
2565ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
2568TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2571Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
2745if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
2748if (dcp == element.dcpFirst && direction == LogicalDirection.Backward)
2810ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
2813TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2816Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
2845else if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == element.dcpFirst) && direction == LogicalDirection.Backward)
3002if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
3005if (dcp == element.dcpFirst)
3052ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3055TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3058Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3064if (backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength == element.dcpFirst)
3178if (dcpStart < element.dcpLim && dcpEnd > element.dcpFirst)
3186ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3189TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3192Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3195line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, element.dcpFirst), Math.Min(dcpEnd, element.dcpLim));
3638ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3641TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3644Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3707ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3710TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3713Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4002ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
4008TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4011Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4018Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4021Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4121if (end <= element.dcpFirst)
4128int localStart = (start < element.dcpFirst) ? element.dcpFirst : start;
4137ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
4140TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4143Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");