33 references to EndOffset
PresentationFramework (33)
src\Framework\MS\Internal\Documents\TextBoxView.cs (33)
459
_lineMetrics.Count == 1 && _lineMetrics[0].
EndOffset
== 0)
701
int startOffset = Math.Min(_lineMetrics[_lineMetrics.Count-1].
EndOffset
, startPosition.Offset);
702
int endOffset = Math.Min(_lineMetrics[_lineMetrics.Count - 1].
EndOffset
, endPosition.Offset);
721
_lineMetrics[firstLineIndex].
EndOffset
> endOffset;
723
_lineMetrics[lastLineIndex].
EndOffset
> endOffset;
749
ITextPointer endOfLinePosition = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].
EndOffset
, LogicalDirection.Backward);
894
if (nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == _lineMetrics[lineIndex].
EndOffset
&&
1111
int lastValidOffset = _lineMetrics[_lineMetrics.Count - 1].
EndOffset
;
1123
int newLastValidOffset = _lineMetrics[_lineMetrics.Count - 1].
EndOffset
;
1199
else if (offset > record.
EndOffset
)
1205
if (offset == record.
EndOffset
&& index < _lineMetrics.Count - 1)
1310
ITextPointer end = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[_lineMetrics.Count-1].
EndOffset
, LogicalDirection.Forward);
2046
int endOffset = Math.Min(_lineMetrics[lineIndex].
EndOffset
, unclippedEndOffset);
2053
if (unclippedStartOffset == _lineMetrics[lineIndex].
EndOffset
)
2098
if (unclippedEndOffset >= _lineMetrics[lineIndex].
EndOffset
)
2132
int lineEndOffset = _lineMetrics[lineIndex].
EndOffset
;
2149
if (unclippedStartOffset == _lineMetrics[lineIndex].
EndOffset
)
2177
if (unclippedEndOffset >= _lineMetrics[lineIndex].
EndOffset
)
2239
lineOffset = _lineMetrics[_lineMetrics.Count - 1].
EndOffset
;
2329
if (range.StartIndex > _lineMetrics[_lineMetrics.Count - 1].
EndOffset
)
2349
if (range.StartIndex > _lineMetrics[_lineMetrics.Count - 1].
EndOffset
)
2447
if (endOffset > _lineMetrics[_lineMetrics.Count - 1].
EndOffset
)
2450
endOffset = _lineMetrics[_lineMetrics.Count - 1].
EndOffset
;
2491
(range.StartIndex > lineOffset || range.StartIndex + -delta < _lineMetrics[lineIndex].
EndOffset
))
2524
int originalEndOffset = _lineMetrics[lineIndex].
EndOffset
;
2538
if (originalEndOffset != _lineMetrics[lineIndex].
EndOffset
)
2560
lineOffset >= _lineMetrics[lineIndex].
EndOffset
)
2593
Invariant.Assert(lineOffset < _lineMetrics[lineIndex].
EndOffset
);
2606
&& curLine.
EndOffset
== record.
EndOffset
2620
offsetSyncOk |= lastCoveredCharOffset <= record.
EndOffset
&& line.HasLineBreak;
2904
_lineMetrics[_lineMetrics.Count - 1].
EndOffset
>= position.Offset;
2965
int viewportEnd = _lineMetrics[lastLineIndex].
EndOffset
;