2 writes to Offset
PresentationFramework (2)
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2390
_lineMetrics[i].
Offset
+= delta;
2464
_lineMetrics[i].
Offset
+= delta;
29 references to Offset
PresentationFramework (29)
src\Framework\MS\Internal\Documents\TextBoxView.cs (29)
720
bool firstLinePartiallyCovered = _lineMetrics[firstLineIndex].
Offset
< startOffset ||
722
bool lastLinePartiallyCovered = _lineMetrics[lastLineIndex].
Offset
< startOffset ||
789
nextLinePosition = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex + linesMoved].
Offset
, LogicalDirection.Forward);
835
if (position.Offset > _lineMetrics[lineIndex].
Offset
)
908
else if (nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == _lineMetrics[lineIndex].
Offset
&&
957
if (backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength == _lineMetrics[lineIndex].
Offset
)
990
ITextPointer start = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].
Offset
, LogicalDirection.Forward);
991
ITextPointer end = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].
Offset
+ _lineMetrics[lineIndex].ContentLength, LogicalDirection.Forward);
1195
if (offset < record.
Offset
)
1309
ITextPointer start = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[0].
Offset
, LogicalDirection.Backward);
1580
line.Format(metrics.
Offset
, formatWidth, width, lineProperties, new TextRunCache(), formatter);
1589
_dirtyList.Merge(new DirtyTextRange(metrics.
Offset
, metrics.Length, metrics.Length, fromHighlightLayer: true));
1742
line.Format(metrics.
Offset
, formatWidth, width, lineProperties, new TextRunCache(), formatter);
1889
line.Format(metrics.
Offset
, formatWidth, width, lineProperties, _cache.TextRunCache, _cache.TextFormatter);
2045
int startOffset = Math.Max(_lineMetrics[lineIndex].
Offset
, unclippedStartOffset);
2079
Invariant.Assert(endOffset == _lineMetrics[lineIndex].
Offset
||
2080
endOffset == _lineMetrics[lineIndex].
Offset
+ _lineMetrics[lineIndex].ContentLength);
2131
int lineStartOffset = _lineMetrics[lineIndex].
Offset
;
2161
Invariant.Assert(endOffset == _lineMetrics[lineIndex].
Offset
||
2162
endOffset == _lineMetrics[lineIndex].
Offset
+ _lineMetrics[lineIndex].ContentLength);
2407
lineOffset = _lineMetrics[lineIndex].
Offset
;
2481
lineOffset = _lineMetrics[lineIndex].
Offset
;
2525
lineOffset = _lineMetrics[lineIndex].
Offset
;
2557
lineOffset != _lineMetrics[lineIndex].
Offset
))
2579
lineOffset + line.Length <= _lineMetrics[lineIndex].
Offset
)
2604
&& curLine.
Offset
> lastCoveredCharOffset
2608
&& curLine.
Offset
== record.
Offset
2964
int viewportStart = _lineMetrics[firstLineIndex].
Offset
;