11 writes to _end
PresentationFramework (11)
System\Windows\Controls\TextRangeAdaptor.cs (11)
466
_end
= end.CreatePointer();
617
_end
= lineRange.End.CreatePointer();
630
_end
= lineRange.End.CreatePointer();
653
_end
= textRange.End.CreatePointer();
698
_end
= textSegments[textSegments.Count - 1].End.CreatePointer();
712
_end
= _start.TextContainer.End.CreatePointer();
1906
_end
= position.CreatePointer();
1968
_end
= position;
1986
_end
= _start.CreatePointer();
2014
_end
= _start.CreatePointer();
2019
_end
= targetPointer.CreatePointer();
52 references to _end
PresentationFramework (52)
System\Windows\Controls\TextRangeAdaptor.cs (52)
530
if (expandEnd && !TextPointerBase.IsAtInsertionPosition(
_end
))
532
TextPointerBase.MoveToNextInsertionPosition(
_end
, LogicalDirection.Forward);
541
if (expandEnd && !IsAtWordBoundary(
_end
))
543
MoveToNextWordBoundary(
_end
, LogicalDirection.Forward);
570
TextPointerContext backwardContext =
_end
.GetPointerContext(LogicalDirection.Backward);
573
TextPointerContext forwardContext =
_end
.GetPointerContext(LogicalDirection.Forward);
581
_end
.MoveToNextContextPosition(LogicalDirection.Forward);
588
_end
.SetLogicalDirection(LogicalDirection.Forward);
612
if (lineRange.Contains(
_end
))
615
if (
_end
.CompareTo(lineRange.End) != 0)
622
if (expandEnd && snapEndPosition && textView.Contains(
_end
))
624
TextSegment lineRange = textView.GetLineRange(
_end
);
628
if (
_end
.CompareTo(lineRange.End) != 0)
639
ITextRange textRange = new TextRange(_start,
_end
);
647
if (!textRange.Contains(
_end
))
649
TextRangeBase.SelectParagraph(textRange,
_end
);
651
if (
_end
.CompareTo(textRange.End) != 0)
685
if (expandEnd && textView.Contains(
_end
))
691
pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(
_end
);
696
if (
_end
.CompareTo(textSegments[textSegments.Count - 1].End) != 0)
710
if (expandEnd &&
_end
.CompareTo(_start.TextContainer.End) != 0)
1205
ITextPointer end =
_end
.CreatePointer();
1492
MoveToInsertionPosition(
_end
,
_end
.LogicalDirection);
1495
if (_start.CompareTo(
_end
) > 0)
1497
_end
.MoveToPosition(_start);
1579
return new TextRangeAdaptor(_textAdaptor, _start,
_end
, _textPeer);
1597
return (rangeAdaptor._start.CompareTo(_start) == 0 && rangeAdaptor.
_end
.CompareTo(
_end
) == 0);
1619
ITextPointer position = (endpoint == TextPatternRangeEndpoint.Start) ? _start :
_end
;
1620
ITextPointer targetPosition = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor._start : rangeAdaptor.
_end
;
1637
_end
.MoveToPosition(_start);
1638
_end
.MoveToNextInsertionPosition(LogicalDirection.Forward);
1673
ITextPointer position =
_end
.CreatePointer(LogicalDirection.Backward);
1703
ITextPointer stop =
_end
;
1757
if (_start.CompareTo(
_end
) == 0)
1772
ITextRange findResult = TextFindEngine.Find(_start,
_end
, text, findFlags, CultureInfo.CurrentCulture);
1816
Rect[] rects = _textAdaptor.GetBoundingRectangles(_start,
_end
, true, true);
1839
AutomationPeer peer = GetEnclosingAutomationPeer(_start,
_end
);
1860
string text = TextRangeBase.GetTextInternal(_start,
_end
);
1909
_end
.MoveToNextInsertionPosition(LogicalDirection.Forward);
1945
ITextPointer positionRef = start ? _start :
_end
;
1982
if (_start.CompareTo(
_end
) > 0)
1990
_start =
_end
.CreatePointer();
2007
ITextPointer targetPointer = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor._start : rangeAdaptor.
_end
;
2012
if (_start.CompareTo(
_end
) > 0)
2021
if (_start.CompareTo(
_end
) > 0)
2023
_start =
_end
.CreatePointer();
2042
_textAdaptor.Select(_start,
_end
);
2074
_textAdaptor.ScrollIntoView(_start,
_end
, alignToTop);
2089
AutomationPeer peer = GetEnclosingAutomationPeer(_start,
_end
);
2091
List<AutomationPeer> peers = GetAutomationPeersFromRange(peer, _start,
_end
);