System\Windows\Documents\DocumentSequenceTextPointer.cs (10)
105return TextPointerBase.GetTextInRun(this, direction);
224return TextPointerBase.GetFrozenPointer(this, logicalDirection);
280TextPointerBase.MoveToFormatNormalizedPosition(pointer, direction);
303return TextPointerBase.ValidateLayout(this, ((ITextPointer)this).TextContainer.TextView);
395get { return TextPointerBase.IsAtInsertionPosition(this); }
412return TextPointerBase.GetOffset(this);
510return TextPointerBase.MoveToLineBoundary(this, ((ITextPointer)this).TextContainer.TextView, count, true);
516return TextPointerBase.GetCharacterRect(this, direction);
521return TextPointerBase.MoveToInsertionPosition(this, direction);
526return TextPointerBase.MoveToNextInsertionPosition(this, direction);
System\Windows\Documents\FixedTextPointer.cs (10)
123return TextPointerBase.GetTextInRun(this, direction);
302return TextPointerBase.GetFrozenPointer(this, logicalDirection);
344TextPointerBase.MoveToFormatNormalizedPosition(pointer, direction);
464return TextPointerBase.MoveToLineBoundary(this, ((ITextPointer)this).TextContainer.TextView, count, true);
472return TextPointerBase.GetCharacterRect(this, direction);
480return TextPointerBase.MoveToInsertionPosition(this, direction);
488return TextPointerBase.MoveToNextInsertionPosition(this, direction);
519return TextPointerBase.ValidateLayout(this, ((ITextPointer)this).TextContainer.TextView);
607get { return TextPointerBase.IsAtInsertionPosition(this); }
628return TextPointerBase.GetOffset(this);
System\windows\Documents\TextEditorSelection.cs (20)
318if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
408if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
867LogicalDirection orientation = TextPointerBase.IsNextToPlainLineBreak(lineRange.End, LogicalDirection.Backward) ? LogicalDirection.Forward : LogicalDirection.Backward;
1075if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
1137if (TextPointerBase.IsNextToAnyBreak(newMovingPosition, LogicalDirection.Forward) ||
1265if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
1670if (TextPointerBase.IsNextToPlainLineBreak(destination, LogicalDirection.Forward) ||
1671TextPointerBase.IsNextToRichLineBreak(destination, LogicalDirection.Forward))
1684else if (TextPointerBase.IsNextToParagraphBreak(destination, LogicalDirection.Forward) &&
1685TextPointerBase.IsNextToParagraphBreak(This.Selection.AnchorPosition, LogicalDirection.Backward))
2133if (!textEditor.Selection.IsEmpty && TextPointerBase.IsAtWordBoundary(textEditor.Selection.End, LogicalDirection.Forward))
2143TextPointerBase.MoveToNextWordBoundary(wordBoundary, LogicalDirection.Forward);
2153if (!textEditor.Selection.IsEmpty && TextPointerBase.IsAtWordBoundary(textEditor.Selection.Start, LogicalDirection.Forward))
2163TextPointerBase.MoveToNextWordBoundary(wordBoundary, LogicalDirection.Backward);
2207TextPointerBase.MoveToNextWordBoundary(wordBoundary, direction);
2323TextPointerBase.IsNextToAnyBreak(movingPosition, LogicalDirection.Backward))
2329if (TextPointerBase.IsNextToPlainLineBreak(movingPosition, LogicalDirection.Backward))
2334else if (TextPointerBase.IsAfterLastParagraph(movingPosition))
2409if (This.Selection.IsEmpty && TextPointerBase.IsAtRowEnd(This.Selection.Start))
2425if (TextPointerBase.IsAtRowEnd(position))
System\Windows\Documents\TextPointer.cs (12)
741return TextPointerBase.GetTextInRun(this, direction);
1262return TextPointerBase.GetCharacterRect(this, direction);
1574return TextPointerBase.IsAtInsertionPosition(this);
2040return TextPointerBase.MoveToInsertionPosition(this, direction);
2083return TextPointerBase.MoveToNextInsertionPosition(this, direction);
2125return TextPointerBase.MoveToLineBoundary(this, _tree.TextView, count);
2345return (TextPointer)TextPointerBase.GetFrozenPointer(this, logicalDirection);
2401return TextPointerBase.GetTextInRun(this, direction);
2480TextPointerBase.MoveToFormatNormalizedPosition(pointer, direction);
2810return TextPointerBase.ValidateLayout(this, _tree.TextView);
3810return TextPointerBase.IsAtRowEnd(this);
3841return TextPointerBase.IsAtNonMergeableInlineStart(this);
System\Windows\Documents\TextRangeBase.cs (15)
197TextSegment wordRange = TextPointerBase.GetWordRange(normalizedPosition);
210!TextPointerBase.IsAtWordBoundary(thisRange.Start, LogicalDirection.Forward) && //
211!TextPointerBase.IsAtWordBoundary(thisRange.Start, LogicalDirection.Backward))
215autoWordRange = TextPointerBase.GetWordRange(thisRange.Start);
286!TextPointerBase.IsNextToAnyBreak(thisRange.End, LogicalDirection.Forward))
305(TextPointerBase.IsNextToAnyBreak(thisRange.End, LogicalDirection.Backward) ||
306TextPointerBase.IsAfterLastParagraph(thisRange.End)))
517if (TextPointerBase.IsAfterLastParagraph(endNavigator))
753runLength = TextPointerBase.GetTextWithLimit(navigator, LogicalDirection.Forward, charArray, 0, runLength, endPosition);
1719if (!TextPointerBase.IsAfterLastParagraph(end))
1793isAtNormalizedPosition = TextPointerBase.IsAtFormatNormalizedPosition(position, direction);
1797isAtNormalizedPosition = TextPointerBase.IsAtInsertionPosition(position, direction);
1943if (!TextPointerBase.IsAtInsertionPosition(start, start.LogicalDirection))
1961!TextPointerBase.IsAtInsertionPosition(start, LogicalDirection.Forward) ||
1962!TextPointerBase.IsAtInsertionPosition(end, LogicalDirection.Backward))