src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (10)
109return TextPointerBase.GetTextInRun(this, direction);
228return TextPointerBase.GetFrozenPointer(this, logicalDirection);
284TextPointerBase.MoveToFormatNormalizedPosition(pointer, direction);
307return TextPointerBase.ValidateLayout(this, ((ITextPointer)this).TextContainer.TextView);
399get { return TextPointerBase.IsAtInsertionPosition(this); }
416return TextPointerBase.GetOffset(this);
514return TextPointerBase.MoveToLineBoundary(this, ((ITextPointer)this).TextContainer.TextView, count, true);
520return TextPointerBase.GetCharacterRect(this, direction);
525return TextPointerBase.MoveToInsertionPosition(this, direction);
530return TextPointerBase.MoveToNextInsertionPosition(this, direction);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (10)
129return TextPointerBase.GetTextInRun(this, direction);
317return TextPointerBase.GetFrozenPointer(this, logicalDirection);
359TextPointerBase.MoveToFormatNormalizedPosition(pointer, direction);
479return TextPointerBase.MoveToLineBoundary(this, ((ITextPointer)this).TextContainer.TextView, count, true);
487return TextPointerBase.GetCharacterRect(this, direction);
495return TextPointerBase.MoveToInsertionPosition(this, direction);
503return TextPointerBase.MoveToNextInsertionPosition(this, direction);
537return TextPointerBase.ValidateLayout(this, ((ITextPointer)this).TextContainer.TextView);
625get { return TextPointerBase.IsAtInsertionPosition(this); }
646return TextPointerBase.GetOffset(this);
src\Framework\System\windows\Documents\TextEditorSelection.cs (20)
326if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
416if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
876LogicalDirection orientation = TextPointerBase.IsNextToPlainLineBreak(lineRange.End, LogicalDirection.Backward) ? LogicalDirection.Forward : LogicalDirection.Backward;
1084if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
1146if (TextPointerBase.IsNextToAnyBreak(newMovingPosition, LogicalDirection.Forward) ||
1274if (TextPointerBase.IsInAnchoredBlock(originalMovingPosition))
1679if (TextPointerBase.IsNextToPlainLineBreak(destination, LogicalDirection.Forward) ||
1680TextPointerBase.IsNextToRichLineBreak(destination, LogicalDirection.Forward))
1693else if (TextPointerBase.IsNextToParagraphBreak(destination, LogicalDirection.Forward) &&
1694TextPointerBase.IsNextToParagraphBreak(This.Selection.AnchorPosition, LogicalDirection.Backward))
2142if (!textEditor.Selection.IsEmpty && TextPointerBase.IsAtWordBoundary(textEditor.Selection.End, LogicalDirection.Forward))
2152TextPointerBase.MoveToNextWordBoundary(wordBoundary, LogicalDirection.Forward);
2162if (!textEditor.Selection.IsEmpty && TextPointerBase.IsAtWordBoundary(textEditor.Selection.Start, LogicalDirection.Forward))
2172TextPointerBase.MoveToNextWordBoundary(wordBoundary, LogicalDirection.Backward);
2216TextPointerBase.MoveToNextWordBoundary(wordBoundary, direction);
2332TextPointerBase.IsNextToAnyBreak(movingPosition, LogicalDirection.Backward))
2338if (TextPointerBase.IsNextToPlainLineBreak(movingPosition, LogicalDirection.Backward))
2343else if (TextPointerBase.IsAfterLastParagraph(movingPosition))
2418if (This.Selection.IsEmpty && TextPointerBase.IsAtRowEnd(This.Selection.Start))
2434if (TextPointerBase.IsAtRowEnd(position))
src\Framework\System\Windows\Documents\TextPointer.cs (12)
752return TextPointerBase.GetTextInRun(this, direction);
1273return TextPointerBase.GetCharacterRect(this, direction);
1588return TextPointerBase.IsAtInsertionPosition(this);
2057return TextPointerBase.MoveToInsertionPosition(this, direction);
2100return TextPointerBase.MoveToNextInsertionPosition(this, direction);
2142return TextPointerBase.MoveToLineBoundary(this, _tree.TextView, count);
2365return (TextPointer)TextPointerBase.GetFrozenPointer(this, logicalDirection);
2421return TextPointerBase.GetTextInRun(this, direction);
2500TextPointerBase.MoveToFormatNormalizedPosition(pointer, direction);
2836return TextPointerBase.ValidateLayout(this, _tree.TextView);
3836return TextPointerBase.IsAtRowEnd(this);
3867return TextPointerBase.IsAtNonMergeableInlineStart(this);
src\Framework\System\Windows\Documents\TextRangeBase.cs (15)
205TextSegment wordRange = TextPointerBase.GetWordRange(normalizedPosition);
218!TextPointerBase.IsAtWordBoundary(thisRange.Start, LogicalDirection.Forward) && //
219!TextPointerBase.IsAtWordBoundary(thisRange.Start, LogicalDirection.Backward))
223autoWordRange = TextPointerBase.GetWordRange(thisRange.Start);
297!TextPointerBase.IsNextToAnyBreak(thisRange.End, LogicalDirection.Forward))
316(TextPointerBase.IsNextToAnyBreak(thisRange.End, LogicalDirection.Backward) ||
317TextPointerBase.IsAfterLastParagraph(thisRange.End)))
528if (TextPointerBase.IsAfterLastParagraph(endNavigator))
764runLength = TextPointerBase.GetTextWithLimit(navigator, LogicalDirection.Forward, charArray, 0, runLength, endPosition);
1747if (!TextPointerBase.IsAfterLastParagraph(end))
1821isAtNormalizedPosition = TextPointerBase.IsAtFormatNormalizedPosition(position, direction);
1825isAtNormalizedPosition = TextPointerBase.IsAtInsertionPosition(position, direction);
1971if (!TextPointerBase.IsAtInsertionPosition(start, start.LogicalDirection))
1989!TextPointerBase.IsAtInsertionPosition(start, LogicalDirection.Forward) ||
1990!TextPointerBase.IsAtInsertionPosition(end, LogicalDirection.Backward))