10 writes to _start
PresentationFramework (10)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (10)
475
_start
= start.CreatePointer();
618
_start
= lineRange.Start.CreatePointer();
653
_start
= textRange.Start.CreatePointer();
691
_start
= textSegments[0].Start.CreatePointer();
718
_start
= _start.TextContainer.Start.CreatePointer();
1925
_start
= position;
1987
_start
= position;
2013
_start
= _end.CreatePointer();
2036
_start
= targetPointer.CreatePointer();
2049
_start
= _end.CreatePointer();
58 references to _start
PresentationFramework (58)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (58)
519
if (rangeAdaptor == null || rangeAdaptor.
_start
.TextContainer !=
_start
.TextContainer)
536
if (expandStart && !TextPointerBase.IsAtInsertionPosition(
_start
))
538
TextPointerBase.MoveToNextInsertionPosition(
_start
, LogicalDirection.Backward);
547
if (expandStart && !IsAtWordBoundary(
_start
))
549
MoveToNextWordBoundary(
_start
, LogicalDirection.Backward);
563
TextPointerContext forwardContext =
_start
.GetPointerContext(LogicalDirection.Forward);
566
TextPointerContext backwardContext =
_start
.GetPointerContext(LogicalDirection.Backward);
574
_start
.MoveToNextContextPosition(LogicalDirection.Backward);
597
_start
.SetLogicalDirection(LogicalDirection.Forward);
610
if (expandStart && textView.Contains(
_start
))
612
TextSegment lineRange = textView.GetLineRange(
_start
);
616
if (
_start
.CompareTo(lineRange.Start) != 0)
649
ITextRange textRange = new TextRange(
_start
, _end);
650
TextRangeBase.SelectParagraph(textRange,
_start
);
651
if (expandStart &&
_start
.CompareTo(textRange.Start) != 0)
678
if (expandStart && textView.Contains(
_start
))
684
pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(
_start
);
689
if (
_start
.CompareTo(textSegments[0].Start) != 0)
716
if (expandStart &&
_start
.CompareTo(
_start
.TextContainer.Start) != 0)
718
_start =
_start
.TextContainer.Start.CreatePointer();
720
if (expandEnd && _end.CompareTo(
_start
.TextContainer.End) != 0)
722
_end =
_start
.TextContainer.End.CreatePointer();
1215
ITextPointer start =
_start
.CreatePointer();
1502
MoveToInsertionPosition(
_start
,
_start
.LogicalDirection);
1506
if (
_start
.CompareTo(_end) > 0)
1508
_end.MoveToPosition(
_start
);
1590
return new TextRangeAdaptor(_textAdaptor,
_start
, _end, _textPeer);
1611
return (rangeAdaptor.
_start
.CompareTo(
_start
) == 0 && rangeAdaptor._end.CompareTo(_end) == 0);
1636
ITextPointer position = (endpoint == TextPatternRangeEndpoint.Start) ?
_start
: _end;
1637
ITextPointer targetPosition = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor.
_start
: rangeAdaptor._end;
1654
_end.MoveToPosition(
_start
);
1692
ITextPointer stop =
_start
;
1724
ITextPointer position =
_start
.CreatePointer(LogicalDirection.Forward);
1780
if (
_start
.CompareTo(_end) == 0)
1795
ITextRange findResult = TextFindEngine.Find(
_start
, _end, text, findFlags, CultureInfo.CurrentCulture);
1839
Rect[] rects = _textAdaptor.GetBoundingRectangles(
_start
, _end, true, true);
1862
AutomationPeer peer = GetEnclosingAutomationPeer(
_start
, _end);
1883
string text = TextRangeBase.GetTextInternal(
_start
, _end);
1916
ITextPointer position =
_start
.CreatePointer();
1921
if ((position.CompareTo(
_start
)==0 && position.LogicalDirection !=
_start
.LogicalDirection) ||
1922
(count > 0 && position.CompareTo(
_start
) > 0) ||
1923
(count < 0 && position.CompareTo(
_start
) < 0))
1968
ITextPointer positionRef = start ?
_start
: _end;
2005
if (
_start
.CompareTo(_end) > 0)
2009
_end =
_start
.CreatePointer();
2033
ITextPointer targetPointer = (targetEndpoint == TextPatternRangeEndpoint.Start) ? rangeAdaptor.
_start
: rangeAdaptor._end;
2038
if (
_start
.CompareTo(_end) > 0)
2040
_end =
_start
.CreatePointer();
2047
if (
_start
.CompareTo(_end) > 0)
2069
_textAdaptor.Select(
_start
, _end);
2101
_textAdaptor.ScrollIntoView(
_start
, _end, alignToTop);
2116
AutomationPeer peer = GetEnclosingAutomationPeer(
_start
, _end);
2118
List<AutomationPeer> peers = GetAutomationPeersFromRange(peer,
_start
, _end);