10 writes to _start
PresentationFramework (10)
System\Windows\Controls\TextRangeAdaptor.cs (10)
464
_start
= start.CreatePointer();
607
_start
= lineRange.Start.CreatePointer();
642
_start
= textRange.Start.CreatePointer();
680
_start
= textSegments[0].Start.CreatePointer();
707
_start
= _start.TextContainer.Start.CreatePointer();
1901
_start
= position;
1963
_start
= position;
1989
_start
= _end.CreatePointer();
2009
_start
= targetPointer.CreatePointer();
2022
_start
= _end.CreatePointer();
58 references to _start
PresentationFramework (58)
System\Windows\Controls\TextRangeAdaptor.cs (58)
508
if (rangeAdaptor == null || rangeAdaptor.
_start
.TextContainer !=
_start
.TextContainer)
525
if (expandStart && !TextPointerBase.IsAtInsertionPosition(
_start
))
527
TextPointerBase.MoveToNextInsertionPosition(
_start
, LogicalDirection.Backward);
536
if (expandStart && !IsAtWordBoundary(
_start
))
538
MoveToNextWordBoundary(
_start
, LogicalDirection.Backward);
552
TextPointerContext forwardContext =
_start
.GetPointerContext(LogicalDirection.Forward);
555
TextPointerContext backwardContext =
_start
.GetPointerContext(LogicalDirection.Backward);
563
_start
.MoveToNextContextPosition(LogicalDirection.Backward);
586
_start
.SetLogicalDirection(LogicalDirection.Forward);
599
if (expandStart && textView.Contains(
_start
))
601
TextSegment lineRange = textView.GetLineRange(
_start
);
605
if (
_start
.CompareTo(lineRange.Start) != 0)
638
ITextRange textRange = new TextRange(
_start
, _end);
639
TextRangeBase.SelectParagraph(textRange,
_start
);
640
if (expandStart &&
_start
.CompareTo(textRange.Start) != 0)
667
if (expandStart && textView.Contains(
_start
))
673
pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(
_start
);
678
if (
_start
.CompareTo(textSegments[0].Start) != 0)
705
if (expandStart &&
_start
.CompareTo(
_start
.TextContainer.Start) != 0)
707
_start =
_start
.TextContainer.Start.CreatePointer();
709
if (expandEnd && _end.CompareTo(
_start
.TextContainer.End) != 0)
711
_end =
_start
.TextContainer.End.CreatePointer();
1203
ITextPointer start =
_start
.CreatePointer();
1490
MoveToInsertionPosition(
_start
,
_start
.LogicalDirection);
1494
if (
_start
.CompareTo(_end) > 0)
1496
_end.MoveToPosition(
_start
);
1578
return new TextRangeAdaptor(_textAdaptor,
_start
, _end, _textPeer);
1596
return (rangeAdaptor.
_start
.CompareTo(
_start
) == 0 && rangeAdaptor._end.CompareTo(_end) == 0);
1618
ITextPointer position = (endpoint == TextPatternRangeEndpoint.Start) ?
_start
: _end;
1619
ITextPointer targetPosition = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor.
_start
: rangeAdaptor._end;
1636
_end.MoveToPosition(
_start
);
1671
ITextPointer stop =
_start
;
1703
ITextPointer position =
_start
.CreatePointer(LogicalDirection.Forward);
1756
if (
_start
.CompareTo(_end) == 0)
1771
ITextRange findResult = TextFindEngine.Find(
_start
, _end, text, findFlags, CultureInfo.CurrentCulture);
1815
Rect[] rects = _textAdaptor.GetBoundingRectangles(
_start
, _end, true, true);
1838
AutomationPeer peer = GetEnclosingAutomationPeer(
_start
, _end);
1859
string text = TextRangeBase.GetTextInternal(
_start
, _end);
1892
ITextPointer position =
_start
.CreatePointer();
1897
if ((position.CompareTo(
_start
)==0 && position.LogicalDirection !=
_start
.LogicalDirection) ||
1898
(count > 0 && position.CompareTo(
_start
) > 0) ||
1899
(count < 0 && position.CompareTo(
_start
) < 0))
1944
ITextPointer positionRef = start ?
_start
: _end;
1981
if (
_start
.CompareTo(_end) > 0)
1985
_end =
_start
.CreatePointer();
2006
ITextPointer targetPointer = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor.
_start
: rangeAdaptor._end;
2011
if (
_start
.CompareTo(_end) > 0)
2013
_end =
_start
.CreatePointer();
2020
if (
_start
.CompareTo(_end) > 0)
2041
_textAdaptor.Select(
_start
, _end);
2073
_textAdaptor.ScrollIntoView(
_start
, _end, alignToTop);
2088
AutomationPeer peer = GetEnclosingAutomationPeer(
_start
, _end);
2090
List<AutomationPeer> peers = GetAutomationPeersFromRange(peer,
_start
, _end);