MS\Internal\PtsHost\TextParaClient.cs (65)
579if (element.dcpFirst == dcpLine)
1039if (element.dcpFirst == dcpLine)
1296List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(element.dcpFirst, element.dcpLim);
1607lines.Add(new TextParaLineResult(this, element.dcpFirst, element.dcpLim - element.dcpFirst,
1753if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
1762ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
1765TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
1768Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
1957if (dcpEnd < elemDesc.dcpFirst)
1966if (dcpEnd <= elemDesc.dcpFirst)
1983int dcpRangeStartForThisElem = Math.Max(elemDesc.dcpFirst, dcpStart);
2205if (dcpRangeStart == elemDesc.dcpFirst && elemDesc.dcpLim <= (dcpRangeStart + cchRange))
2217ctx.LineFormatLengthTarget = elemDesc.dcpLim - elemDesc.dcpFirst;
2219TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst);
2220Invariant.Assert(line.SafeLength == elemDesc.dcpLim - elemDesc.dcpFirst, "Line length is out of sync");
2490if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
2504if (dcp == element.dcpFirst)
2559ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
2562TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2565Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
2739if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
2742if (dcp == element.dcpFirst && direction == LogicalDirection.Backward)
2804ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
2807TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
2810Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
2839else if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == element.dcpFirst) && direction == LogicalDirection.Backward)
2996if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
2999if (dcp == element.dcpFirst)
3046ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3049TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3052Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3058if (backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength == element.dcpFirst)
3172if (dcpStart < element.dcpLim && dcpEnd > element.dcpFirst)
3180ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3183TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3186Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3189line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, element.dcpFirst), Math.Min(dcpEnd, element.dcpLim));
3632ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3635TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3638Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3701ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3704TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
3707Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3996ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
4002TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4005Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4012Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4015Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4115if (end <= element.dcpFirst)
4122int localStart = (start < element.dcpFirst) ? element.dcpFirst : start;
4131ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
4134TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);
4137Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");