1 implementation of End
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextRange.cs (1)
325
ITextPointer ITextRange.
End
123 references to End
PresentationFramework (123)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
383
end = textRange.
End
;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (6)
206
findResult = TextFindEngine.Find(textSelection.Start, textSelection.
End
, searchText, findFlags, cultureInfo);
213
(findResult.
End
.CompareTo(textSelection.
End
) == 0))
218
contentStart = findToolBar.SearchUp ? textSelection.Start : textSelection.
End
;
226
contentStart = findToolBar.SearchUp ? textSelection.
End
: textSelection.Start;
247
textSelection.Select(findResult.Start, findResult.
End
);
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
1905
GetTightBoundingGeometryFromLineIndexForSelection(line, lineIndex, selection.Start.CharOffset, selection.
End
.CharOffset, CalculatedTextAlignment, endOfParaGlyphWidth, ref selectionGeometry);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (8)
613
TextSelectionHelper.GetPointerPage(selection.
End
, out selEndPage);
693
ITextPointer end = selection.
End
.CreatePointer();
853
((selection.
End
.CompareTo(anchor.Start) > 0) && (selection.
End
.CompareTo(anchor.End) < 0)) ||
854
((selection.Start.CompareTo(anchor.Start) <= 0) && (selection.
End
.CompareTo(anchor.End) >= 0)) ||
878
((anchor.End.CompareTo(selection.
End
) == 0) &&
879
(selection.
End
.LogicalDirection == LogicalDirection.Backward)))
966
ITextRange anchor = new TextRange(selection.Start, selection.
End
);
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
483
return new ITextRangeProvider[] { new TextRangeAdaptor(this, selection.Start, selection.
End
, _textPeer) };
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (6)
661
if (_end.CompareTo(textRange.
End
) != 0)
663
_end = textRange.
End
.CreatePointer();
866
ITextPointer nextParagraphStart = textRange.
End
;
895
previousParagraphEnd = textRange.
End
;
1123
position.MoveToPosition(direction == LogicalDirection.Forward ? paragraphRange.
End
: paragraphRange.Start);
1798
range = new TextRangeAdaptor(_textAdaptor, findResult.Start, findResult.
End
, _textPeer);
src\Framework\System\Windows\Documents\ImmComposition.cs (7)
739
endNavigator = _editor.Selection.
End
.CreatePointer();
748
caretNavigator = _editor.Selection.
End
.CreatePointer();
865
if (!_editor.Selection.
End
.HasValidLayout)
889
rectCaret = view.GetRectangleFromTextPosition(_editor.Selection.
End
.CreatePointer(LogicalDirection.Backward));
1111
composition.SetCompositionPositions(_editor.Selection.Start, _editor.Selection.
End
, compositionString);
1279
end = range.
End
;
1613
navigator = range.
End
.CreatePointer();
src\Framework\System\windows\Documents\TextEditor.cs (2)
1195
return _FilterText(textData, range.Start.GetOffsetToPosition(range.
End
));
1205
return _FilterText(textData, range.Start.GetOffsetToPosition(range.
End
), filterMaxLength);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
151
TextPointer endResetFormatPosition = (TextPointer)This.Selection.
End
;
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (3)
526
This.Selection.SetCaretToPosition(This.Selection.
End
, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/true);
1071
TextRangeEditLists.MergeListsAroundNormalizedPosition((TextPointer)This.Selection.
End
);
1075
TextRangeEdit.MergeFlowDirection((TextPointer)This.Selection.
End
);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (2)
194
_dragSourceTextRange = new TextRange(selection.Start, selection.
End
);
497
TextPointerBase.IsAtWordBoundary(_dragSourceTextRange.
End
, LogicalDirection.Forward))
src\Framework\System\windows\Documents\TextEditorSelection.cs (13)
146
return new TextSegment(textRange.Start, textRange.
End
);
276
if (!This.Selection.
End
.ValidateLayout())
486
movingPointer.MoveToPosition(paragraphRange.
End
);
496
This.Selection.SetCaretToPosition(paragraphRange.
End
, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
567
if (!This.Selection.
End
.ValidateLayout())
1344
movingPointer.MoveToPosition(paragraphRange.
End
);
1354
ExtendSelectionAndBringIntoView(paragraphRange.
End
, This);
1670
if (lineRange.End.CompareTo(This.Selection.
End
) < 0)
2081
ITextPointer movingEnd = (direction == LogicalDirection.Forward ? textEditor.Selection.
End
: textEditor.Selection.Start);
2142
if (!textEditor.Selection.IsEmpty && TextPointerBase.IsAtWordBoundary(textEditor.Selection.
End
, LogicalDirection.Forward))
2145
textEditor.Selection.SetCaretToPosition(textEditor.Selection.
End
, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
2151
ITextPointer wordBoundary = textEditor.Selection.
End
.CreatePointer();
2369
ITextPointer end = This.Selection.
End
;
src\Framework\System\windows\Documents\TextEditorSpelling.cs (4)
91
position = GetNextNonWhiteSpacePosition(This.Selection.Start, This.Selection.
End
);
169
caretPosition = This.Selection.
End
;
342
isSelectionIgnoringErrors = ((TextPointer)selection.Start).ParentBlock != ((TextPointer)selection.
End
).ParentBlock;
348
isSelectionIgnoringErrors = selection.Start.GetOffsetToPosition(selection.
End
) >= 256;
src\Framework\System\windows\Documents\TextEditorTyping.cs (11)
565
ITextPointer position = This.Selection.
End
;
709
This.Selection.Select(This.Selection.
End
, backspacePosition);
931
ITextPointer wordBoundary = This.Selection.
End
.CreatePointer();
965
This.Selection.Select(textRange.Start, textRange.
End
);
1009
ITextRange textRange = new TextRange(wordBoundary, This.Selection.
End
);
1025
This.Selection.Select(textRange.Start, textRange.
End
);
1030
This.Selection.Select(textRange.Start, textRange.
End
);
1107
This.Selection.SetCaretToPosition(This.Selection.
End
, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1438
if (This.Selection.IsEmpty && TextPointerBase.IsAtRowEnd(This.Selection.
End
))
1442
TableRow row = ((TextPointer)This.Selection.
End
).Parent as TableRow;
1582
ITextPointer caretPosition = This.Selection.
End
.CreatePointer(LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextRange.cs (2)
323
/// <see cref="ITextRange.
End
"/>
1280
return (TextPointer)((ITextRange)this).
End
;
src\Framework\System\Windows\Documents\TextRangeBase.cs (14)
84
else if (textPointer.CompareTo(thisRange.
End
) > 0)
297
!TextPointerBase.IsNextToAnyBreak(thisRange.
End
, LogicalDirection.Forward))
302
ITextPointer nextPosition = thisRange.
End
.CreatePointer();
316
(TextPointerBase.IsNextToAnyBreak(thisRange.
End
, LogicalDirection.Backward) ||
317
TextPointerBase.IsAfterLastParagraph(thisRange.
End
)))
319
ITextPointer newEnd = thisRange.
End
.GetNextInsertionPosition(LogicalDirection.Backward);
526
ITextPointer endNavigator = thisRange.
End
.CreatePointer();
1227
(thisRange.Start.CompareTo(thisRange.
End
) == 0),
1272
return TextRangeBase.GetTextInternal(start, thisRange.
End
);
1313
((TextPointer)thisRange.Start).Parent == ((TextPointer)thisRange.
End
).Parent &&
1329
thisRange.
End
.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text)
1342
textContainer.DeleteContentInternal((TextPointer)thisRange.Start, (TextPointer)thisRange.
End
);
1346
thisRange.Start.DeleteContentToPosition(thisRange.
End
);
1656
ITextPointer end = range.
End
.CreatePointer();
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (8)
83
!TextPointerBase.IsAfterLastParagraph(range.
End
) &&
84
range.
End
.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.ElementStart;
105
WriteXamlTextSegment(xmlWriter, range.Start, range.
End
, xamlTypeMapper, ref elementLevel, wpfPayload, ignoreWriteHyperlinkEnd, ignoreList, preserveTextElements);
460
ignoreHyperlink = IsHyperlinkInvalid(position, range.
End
);
479
isPartialNonTypographic = IsPartialNonTypographic(position, range.
End
);
1696
ITextPointer runningEnd = range.
End
.CreatePointer();
1702
runningEnd.MoveToPosition(range.
End
);
1945
if (TextPointerBase.IsAtNonMergeableInlineStart(range.Start) && TextPointerBase.IsAtNonMergeableInlineEnd(range.
End
))
src\Framework\System\windows\Documents\TextSelection.cs (12)
56
SetActivePositions(/*AnchorPosition:*/thisSelection.Start, thisSelection.
End
);
116
SetActivePositions(/*anchorPosition:*/thisSelection.Start, thisSelection.
End
);
136
SetActivePositions(/*anchorPosition:*/position, thisSelection.
End
);
306
((ITextSelection)this).SetCaretToPosition(((ITextRange)this).
End
, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
310
SetActivePositions(((ITextRange)this).Start, ((ITextRange)this).
End
);
438
movingPosition = thisSelection.
End
;
1768
This.
End
.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text &&
1770
This.
End
.GetNextInsertionPosition(LogicalDirection.Forward) == null);
1887
else if (_anchorPosition.CompareTo(thisSelection.
End
) > 0)
1889
_anchorPosition = thisSelection.
End
.GetFrozenPointer(_anchorPosition.LogicalDirection);
1920
else if (movingPosition.CompareTo(thisSelection.
End
) == 0)
2300
nextCharacterPosition = focusedTextSelection.
End
.CreatePointer(LogicalDirection.Backward);
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (3)
46
_oldEnd = _selection.
End
;
204
newStart = _selection.
End
;
207
newEnd = _selection.
End
;
src\Framework\System\Windows\Documents\TextStore.cs (18)
250
selection[0].end = this.TextSelection.
End
.CharOffset;
559
GetAdjustedSelection(range.Start, range.
End
, out start, out end);
584
string filteredText = FilterCompositionString(new string(text), range.Start.GetOffsetToPosition(range.
End
)); // does NOT filter MaxLength.
622
end.CompareTo(this.TextSelection.
End
) != 0)
636
_previousCompositionEndOffset = this.TextSelection.
End
.Offset;
1361
navigator = TextSelection.
End
.CreatePointer();
1385
string filteredText = FilterCompositionString(result, TextSelection.Start.GetOffsetToPosition(TextSelection.
End
)); // does NOT filter MaxLength.
1392
TextSelection.Select(TextSelection.
End
, TextSelection.
End
);
1650
(compositionStart.CompareTo(TextSelection.
End
) <= 0) &&
1652
(compositionEnd.CompareTo(TextSelection.
End
) >= 0))
1663
fReconvertable = GetFnReconv(TextSelection.Start, TextSelection.
End
, out funcReconv, out range);
1692
fReconvertable = GetFnReconv(TextSelection.Start, TextSelection.
End
, out funcReconv, out range);
1878
CompositionParentUndoUnit compositionUndoUnit = OpenCompositionUndoUnit(range.Start, range.
End
);
1896
this.TextSelection.Select(range.Start, range.
End
);
1900
this.TextSelection.SetCaretToPosition(range.
End
, LogicalDirection.Backward, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
1903
compositionUndoUnit.RecordRedoSelectionState(range.
End
, range.
End
);