10 writes to _start
PresentationFramework (10)
System\Windows\Controls\TextRangeAdaptor.cs (10)
467
_start
= start.CreatePointer();
610
_start
= lineRange.Start.CreatePointer();
645
_start
= textRange.Start.CreatePointer();
683
_start
= textSegments[0].Start.CreatePointer();
710
_start
= _start.TextContainer.Start.CreatePointer();
1904
_start
= position;
1966
_start
= position;
1992
_start
= _end.CreatePointer();
2012
_start
= targetPointer.CreatePointer();
2025
_start
= _end.CreatePointer();
58 references to _start
PresentationFramework (58)
System\Windows\Controls\TextRangeAdaptor.cs (58)
511
if (rangeAdaptor == null || rangeAdaptor.
_start
.TextContainer !=
_start
.TextContainer)
528
if (expandStart && !TextPointerBase.IsAtInsertionPosition(
_start
))
530
TextPointerBase.MoveToNextInsertionPosition(
_start
, LogicalDirection.Backward);
539
if (expandStart && !IsAtWordBoundary(
_start
))
541
MoveToNextWordBoundary(
_start
, LogicalDirection.Backward);
555
TextPointerContext forwardContext =
_start
.GetPointerContext(LogicalDirection.Forward);
558
TextPointerContext backwardContext =
_start
.GetPointerContext(LogicalDirection.Backward);
566
_start
.MoveToNextContextPosition(LogicalDirection.Backward);
589
_start
.SetLogicalDirection(LogicalDirection.Forward);
602
if (expandStart && textView.Contains(
_start
))
604
TextSegment lineRange = textView.GetLineRange(
_start
);
608
if (
_start
.CompareTo(lineRange.Start) != 0)
641
ITextRange textRange = new TextRange(
_start
, _end);
642
TextRangeBase.SelectParagraph(textRange,
_start
);
643
if (expandStart &&
_start
.CompareTo(textRange.Start) != 0)
670
if (expandStart && textView.Contains(
_start
))
676
pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(
_start
);
681
if (
_start
.CompareTo(textSegments[0].Start) != 0)
708
if (expandStart &&
_start
.CompareTo(
_start
.TextContainer.Start) != 0)
710
_start =
_start
.TextContainer.Start.CreatePointer();
712
if (expandEnd && _end.CompareTo(
_start
.TextContainer.End) != 0)
714
_end =
_start
.TextContainer.End.CreatePointer();
1206
ITextPointer start =
_start
.CreatePointer();
1493
MoveToInsertionPosition(
_start
,
_start
.LogicalDirection);
1497
if (
_start
.CompareTo(_end) > 0)
1499
_end.MoveToPosition(
_start
);
1581
return new TextRangeAdaptor(_textAdaptor,
_start
, _end, _textPeer);
1599
return (rangeAdaptor.
_start
.CompareTo(
_start
) == 0 && rangeAdaptor._end.CompareTo(_end) == 0);
1621
ITextPointer position = (endpoint == TextPatternRangeEndpoint.Start) ?
_start
: _end;
1622
ITextPointer targetPosition = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor.
_start
: rangeAdaptor._end;
1639
_end.MoveToPosition(
_start
);
1674
ITextPointer stop =
_start
;
1706
ITextPointer position =
_start
.CreatePointer(LogicalDirection.Forward);
1759
if (
_start
.CompareTo(_end) == 0)
1774
ITextRange findResult = TextFindEngine.Find(
_start
, _end, text, findFlags, CultureInfo.CurrentCulture);
1818
Rect[] rects = _textAdaptor.GetBoundingRectangles(
_start
, _end, true, true);
1841
AutomationPeer peer = GetEnclosingAutomationPeer(
_start
, _end);
1862
string text = TextRangeBase.GetTextInternal(
_start
, _end);
1895
ITextPointer position =
_start
.CreatePointer();
1900
if ((position.CompareTo(
_start
)==0 && position.LogicalDirection !=
_start
.LogicalDirection) ||
1901
(count > 0 && position.CompareTo(
_start
) > 0) ||
1902
(count < 0 && position.CompareTo(
_start
) < 0))
1947
ITextPointer positionRef = start ?
_start
: _end;
1984
if (
_start
.CompareTo(_end) > 0)
1988
_end =
_start
.CreatePointer();
2009
ITextPointer targetPointer = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor.
_start
: rangeAdaptor._end;
2014
if (
_start
.CompareTo(_end) > 0)
2016
_end =
_start
.CreatePointer();
2023
if (
_start
.CompareTo(_end) > 0)
2044
_textAdaptor.Select(
_start
, _end);
2076
_textAdaptor.ScrollIntoView(
_start
, _end, alignToTop);
2091
AutomationPeer peer = GetEnclosingAutomationPeer(
_start
, _end);
2093
List<AutomationPeer> peers = GetAutomationPeersFromRange(peer,
_start
, _end);