10 writes to _start
PresentationFramework (10)
System\Windows\Controls\TextRangeAdaptor.cs (10)
465
_start
= start.CreatePointer();
608
_start
= lineRange.Start.CreatePointer();
643
_start
= textRange.Start.CreatePointer();
681
_start
= textSegments[0].Start.CreatePointer();
708
_start
= _start.TextContainer.Start.CreatePointer();
1902
_start
= position;
1964
_start
= position;
1990
_start
= _end.CreatePointer();
2010
_start
= targetPointer.CreatePointer();
2023
_start
= _end.CreatePointer();
58 references to _start
PresentationFramework (58)
System\Windows\Controls\TextRangeAdaptor.cs (58)
509
if (rangeAdaptor == null || rangeAdaptor.
_start
.TextContainer !=
_start
.TextContainer)
526
if (expandStart && !TextPointerBase.IsAtInsertionPosition(
_start
))
528
TextPointerBase.MoveToNextInsertionPosition(
_start
, LogicalDirection.Backward);
537
if (expandStart && !IsAtWordBoundary(
_start
))
539
MoveToNextWordBoundary(
_start
, LogicalDirection.Backward);
553
TextPointerContext forwardContext =
_start
.GetPointerContext(LogicalDirection.Forward);
556
TextPointerContext backwardContext =
_start
.GetPointerContext(LogicalDirection.Backward);
564
_start
.MoveToNextContextPosition(LogicalDirection.Backward);
587
_start
.SetLogicalDirection(LogicalDirection.Forward);
600
if (expandStart && textView.Contains(
_start
))
602
TextSegment lineRange = textView.GetLineRange(
_start
);
606
if (
_start
.CompareTo(lineRange.Start) != 0)
639
ITextRange textRange = new TextRange(
_start
, _end);
640
TextRangeBase.SelectParagraph(textRange,
_start
);
641
if (expandStart &&
_start
.CompareTo(textRange.Start) != 0)
668
if (expandStart && textView.Contains(
_start
))
674
pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(
_start
);
679
if (
_start
.CompareTo(textSegments[0].Start) != 0)
706
if (expandStart &&
_start
.CompareTo(
_start
.TextContainer.Start) != 0)
708
_start =
_start
.TextContainer.Start.CreatePointer();
710
if (expandEnd && _end.CompareTo(
_start
.TextContainer.End) != 0)
712
_end =
_start
.TextContainer.End.CreatePointer();
1204
ITextPointer start =
_start
.CreatePointer();
1491
MoveToInsertionPosition(
_start
,
_start
.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
);
1672
ITextPointer stop =
_start
;
1704
ITextPointer position =
_start
.CreatePointer(LogicalDirection.Forward);
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);
1893
ITextPointer position =
_start
.CreatePointer();
1898
if ((position.CompareTo(
_start
)==0 && position.LogicalDirection !=
_start
.LogicalDirection) ||
1899
(count > 0 && position.CompareTo(
_start
) > 0) ||
1900
(count < 0 && position.CompareTo(
_start
) < 0))
1945
ITextPointer positionRef = start ?
_start
: _end;
1982
if (
_start
.CompareTo(_end) > 0)
1986
_end =
_start
.CreatePointer();
2007
ITextPointer targetPointer = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor.
_start
: rangeAdaptor._end;
2012
if (
_start
.CompareTo(_end) > 0)
2014
_end =
_start
.CreatePointer();
2021
if (
_start
.CompareTo(_end) > 0)
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);