src\Framework\MS\Internal\PtsHost\TextParaClient.cs (51)
637dcpLim = lineDesc.dcpLim;
1163dcpLim = lineDesc.dcpLim;
1446List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(lineDesc.dcpFirst, lineDesc.dcpLim);
1741lines.Add(new TextParaLineResult(this, lineDesc.dcpFirst, lineDesc.dcpLim - lineDesc.dcpFirst,
1862if ( ((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
1863|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
1871ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
1877Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
2083if ( lineDesc.dcpLim > dcpStart
2085&& (lineDesc.dcpLim == dcpStart) )
2091int cchRangeForThisLine = Math.Max(Math.Min(lineDesc.dcpLim, dcpEnd) - dcpRangeStartForThisLine, 1);
2096|| (dcpEnd >= lineDesc.dcpLim && HasAnyLineBreakAtCp(lineDesc.dcpLim)) )
2290Invariant.Assert(lineDesc.dcpFirst <= dcpRangeStart && dcpRangeStart <= lineDesc.dcpLim && cchRange > 0);
2314if (dcpRangeStart == lineDesc.dcpFirst && lineDesc.dcpLim <= (dcpRangeStart + cchRange))
2326ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
2330Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
2614if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
2615|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
2618if (dcp >= lineDesc.dcpLim - 1 && index == arrayLineDesc.Length - 1)
2663ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
2669Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
2842if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
2843|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
2860else if (dcp >= lineDesc.dcpLim - 1 && direction == LogicalDirection.Forward)
2875ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
2881Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
2899if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == lineDesc.dcpLim) && direction == LogicalDirection.Forward)
3141if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp))
3142|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1)))
3166ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3172Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3364if (dcpStart < lineDesc.dcpLim && dcpEnd > lineDesc.dcpFirst)
3372ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3378Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3381line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, lineDesc.dcpFirst), Math.Min(dcpEnd, lineDesc.dcpLim));
3387if (dcpEnd < lineDesc.dcpLim)
3501ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3507Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3546ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3552Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
3603ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
3609Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
4095ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
4104Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
4111Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");
4203if (start >= lineDesc.dcpLim)
4217int localEnd = (end < lineDesc.dcpLim) ? end : lineDesc.dcpLim;
4226ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst;
4232Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");