src\Framework\MS\Internal\PtsHost\TextParaClient.cs (51)
672dcpLim = element.dcpLim;
1199dcpLim = element.dcpLim;
1480List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(element.dcpFirst, element.dcpLim);
1809lines.Add(new TextParaLineResult(this, element.dcpFirst, element.dcpLim - element.dcpFirst,
1964if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
1965|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1)))
1973ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
1979Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
2198if ( elemDesc.dcpLim > dcpStart
2199|| ( (elemDesc.dcpLim == dcpStart)
2206int cchRangeForThisElem = Math.Max(Math.Min(elemDesc.dcpLim, dcpEnd) - dcpRangeStartForThisElem, 1);
2211|| (dcpEnd >= elemDesc.dcpLim && HasAnyLineBreakAtCp(elemDesc.dcpLim) ) )
2425if (dcpRangeStart == elemDesc.dcpFirst && elemDesc.dcpLim <= (dcpRangeStart + cchRange))
2437ctx.LineFormatLengthTarget = elemDesc.dcpLim - elemDesc.dcpFirst;
2440Invariant.Assert(line.SafeLength == elemDesc.dcpLim - elemDesc.dcpFirst, "Line length is out of sync");
2722if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
2723|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1)))
2726if (dcp >= element.dcpLim - 1 && elIndex == arrayLineElement.Length - 1 && index == arrayLineDesc.Length - 1)
2792ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
2798Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
2980if ( ((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
2981|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1)))
3024else if (dcp >= element.dcpLim - 1 && direction == LogicalDirection.Forward)
3026if (dcp == element.dcpLim)
3033else if (dcp == element.dcpLim - 1 && elIndex == arrayLineElement.Length - 1 && index == arrayLineDesc.Length - 1)
3046ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3052Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3067if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == element.dcpLim) && direction == LogicalDirection.Forward)
3246if (((element.dcpFirst <= dcp) && (element.dcpLim > dcp))
3247|| ((element.dcpLim == dcp) && (elIndex == arrayLineElement.Length - 1) && (index == arrayLineDesc.Length - 1)))
3296ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3302Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3431if (dcpStart < element.dcpLim && dcpEnd > element.dcpFirst)
3439ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3445Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3448line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, element.dcpFirst), Math.Min(dcpEnd, element.dcpLim));
3454if (dcpEnd < element.dcpLim)
3913ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3919Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
3982ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
3988Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4295ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
4304Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4311Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4314Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");
4418if (start >= element.dcpLim)
4431int localEnd = (end < element.dcpLim) ? end : element.dcpLim;
4439ctx.LineFormatLengthTarget = element.dcpLim - element.dcpFirst;
4445Invariant.Assert(line.SafeLength == element.dcpLim - element.dcpFirst, "Line length is out of sync");