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