51 references to dcpLim
PresentationFramework (51)
MS\Internal\PtsHost\TextParaClient.cs (51)
549dcpLim = lineDesc.dcpLim; 1009dcpLim = lineDesc.dcpLim; 1262List<InlineObject> inlineObjects = TextParagraph.InlineObjectsFromRange(lineDesc.dcpFirst, lineDesc.dcpLim); 1546lines.Add(new TextParaLineResult(this, lineDesc.dcpFirst, lineDesc.dcpLim - lineDesc.dcpFirst, 1656if ( ((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 1657|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1))) 1665ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 1671Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 1868if ( lineDesc.dcpLim > dcpStart 1870&& (lineDesc.dcpLim == dcpStart) ) 1876int cchRangeForThisLine = Math.Max(Math.Min(lineDesc.dcpLim, dcpEnd) - dcpRangeStartForThisLine, 1); 1881|| (dcpEnd >= lineDesc.dcpLim && HasAnyLineBreakAtCp(lineDesc.dcpLim)) ) 2070Invariant.Assert(lineDesc.dcpFirst <= dcpRangeStart && dcpRangeStart <= lineDesc.dcpLim && cchRange > 0); 2094if (dcpRangeStart == lineDesc.dcpFirst && lineDesc.dcpLim <= (dcpRangeStart + cchRange)) 2106ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2110Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 2386if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 2387|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1))) 2390if (dcp >= lineDesc.dcpLim - 1 && index == arrayLineDesc.Length - 1) 2435ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2441Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 2605if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 2606|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1))) 2623else if (dcp >= lineDesc.dcpLim - 1 && direction == LogicalDirection.Forward) 2638ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2644Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 2662if ((nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == lineDesc.dcpLim) && direction == LogicalDirection.Forward) 2895if (((lineDesc.dcpFirst <= dcp) && (lineDesc.dcpLim > dcp)) 2896|| ((lineDesc.dcpLim == dcp) && (index == arrayLineDesc.Length - 1))) 2920ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 2926Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3110if (dcpStart < lineDesc.dcpLim && dcpEnd > lineDesc.dcpFirst) 3118ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3124Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3127line.GetGlyphRuns(glyphRuns, Math.Max(dcpStart, lineDesc.dcpFirst), Math.Min(dcpEnd, lineDesc.dcpLim)); 3133if (dcpEnd < lineDesc.dcpLim) 3238ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3244Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3283ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3289Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3340ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3346Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3805ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3814Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3821Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync"); 3909if (start >= lineDesc.dcpLim) 3923int localEnd = (end < lineDesc.dcpLim) ? end : lineDesc.dcpLim; 3932ctx.LineFormatLengthTarget = lineDesc.dcpLim - lineDesc.dcpFirst; 3938Invariant.Assert(line.SafeLength == lineDesc.dcpLim - lineDesc.dcpFirst, "Line length is out of sync");