MS\Internal\PtsHost\TextParaClient.cs (51)
555dcpLim = lineDesc.dcpLim;
1015dcpLim = lineDesc.dcpLim;
1268List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(lineDesc.dcpFirst, lineDesc.dcpLim);
1552lines.Add(new TextParaLineResult(this, lineDesc.dcpFirst, lineDesc.dcpLim - lineDesc.dcpFirst,
1662if ( ((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
1663|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
1671ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
1677Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
1874if ( lineDesc.dcpLim > dcpStart
1876&& (lineDesc.dcpLim == dcpStart) )
1882int cchRangeForThisLine = Math.Max(Math.Min(lineDesc.dcpLim, dcpEnd) - dcpRangeStartForThisLine, 1);
1887|| (dcpEnd >= lineDesc.dcpLim && HasAnyLineBreakAtCp(lineDesc.dcpLim)) )
2076Invariant.Assert(lineDesc.dcpFirst <= dcpRangeStart && dcpRangeStart <= lineDesc.dcpLim && cchRange > 0);
2100if (dcpRangeStart == lineDesc.dcpFirst && lineDesc.dcpLim <= (dcpRangeStart + cchRange))
2112ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
2116Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
2392if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
2393|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
2396if (dcp >= lineDesc.dcpLim - 1 && index == arrayLineDesc.Length - 1)
2441ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
2447Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
2611if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
2612|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
2629else if (dcp >= lineDesc.dcpLim - 1 && direction == LogicalDirection.Forward)
2644ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
2650Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
2668if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == lineDesc.dcpLim) && direction == LogicalDirection.Forward)
2901if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
2902|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
2926ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
2932Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3116if (dcpStart < lineDesc.dcpLim && dcpEnd > lineDesc.dcpFirst)
3124ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3130Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3133line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, lineDesc.dcpFirst), Math.Min(dcpEnd, lineDesc.dcpLim));
3139if (dcpEnd < lineDesc.dcpLim)
3244ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3250Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3289ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3295Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3346ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3352Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3811ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3820Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3827Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3915if (start >= lineDesc.dcpLim)
3929int localEnd = (end < lineDesc.dcpLim) ? end : lineDesc.dcpLim;
3938ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3944Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");