2 writes to Offset
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (2)
2394
_lineMetrics[i].
Offset
+= delta;
2468
_lineMetrics[i].
Offset
+= delta;
29 references to Offset
PresentationFramework (29)
MS\Internal\Documents\TextBoxView.cs (29)
716
bool firstLinePartiallyCovered = _lineMetrics[firstLineIndex].
Offset
< startOffset ||
718
bool lastLinePartiallyCovered = _lineMetrics[lastLineIndex].
Offset
< startOffset ||
785
nextLinePosition = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex + linesMoved].
Offset
, LogicalDirection.Forward);
831
if (position.Offset > _lineMetrics[lineIndex].
Offset
)
904
else if (nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == _lineMetrics[lineIndex].
Offset
&&
953
if (backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength == _lineMetrics[lineIndex].
Offset
)
986
ITextPointer start = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].
Offset
, LogicalDirection.Forward);
987
ITextPointer end = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].
Offset
+ _lineMetrics[lineIndex].ContentLength, LogicalDirection.Forward);
1191
if (offset < record.
Offset
)
1307
ITextPointer start = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[0].
Offset
, LogicalDirection.Backward);
1579
line.Format(metrics.
Offset
, formatWidth, width, lineProperties, new TextRunCache(), formatter);
1588
_dirtyList.Merge(new DirtyTextRange(metrics.
Offset
, metrics.Length, metrics.Length, fromHighlightLayer: true));
1744
line.Format(metrics.
Offset
, formatWidth, width, lineProperties, new TextRunCache(), formatter);
1891
line.Format(metrics.
Offset
, formatWidth, width, lineProperties, _cache.TextRunCache, _cache.TextFormatter);
2049
int startOffset = Math.Max(_lineMetrics[lineIndex].
Offset
, unclippedStartOffset);
2083
Invariant.Assert(endOffset == _lineMetrics[lineIndex].
Offset
||
2084
endOffset == _lineMetrics[lineIndex].
Offset
+ _lineMetrics[lineIndex].ContentLength);
2135
int lineStartOffset = _lineMetrics[lineIndex].
Offset
;
2165
Invariant.Assert(endOffset == _lineMetrics[lineIndex].
Offset
||
2166
endOffset == _lineMetrics[lineIndex].
Offset
+ _lineMetrics[lineIndex].ContentLength);
2411
lineOffset = _lineMetrics[lineIndex].
Offset
;
2485
lineOffset = _lineMetrics[lineIndex].
Offset
;
2529
lineOffset = _lineMetrics[lineIndex].
Offset
;
2561
lineOffset != _lineMetrics[lineIndex].
Offset
))
2583
lineOffset + line.Length <= _lineMetrics[lineIndex].
Offset
)
2608
&& curLine.
Offset
> lastCoveredCharOffset
2612
&& curLine.
Offset
== record.
Offset
2987
int viewportStart = _lineMetrics[firstLineIndex].
Offset
;