90 references to Text
PresentationFramework (90)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1027else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
MS\Internal\Documents\TextBoxLine.cs (1)
76case TextPointerContext.Text:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1011case TextPointerContext.Text:
MS\Internal\PtsHost\Line.cs (3)
143case TextPointerContext.Text: 191while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 599if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd)
MS\Internal\PtsHost\LineBase.cs (1)
82Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
MS\Internal\PtsHost\OptimalTextSource.cs (2)
93case TextPointerContext.Text: 142while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text &&
MS\Internal\PtsHost\TextParaClient.cs (4)
643RectFromDcpSimpleLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 648RectFromDcpCompositeLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 1697if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement)) 1791if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement))
MS\Internal\Text\ComplexLine.cs (4)
44case TextPointerContext.Text: 92while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 300if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd) 334Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
System\Windows\Controls\AccessText.cs (2)
582case TextPointerContext.Text: 630case TextPointerContext.Text:
System\Windows\Controls\PasswordTextNavigator.cs (1)
145symbolType = TextPointerContext.Text;
System\Windows\Controls\TextRangeAdaptor.cs (8)
560if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 577if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 754while (position.GetPointerContext(direction) == TextPointerContext.Text) 1030while (position.GetPointerContext(direction) == TextPointerContext.Text) 1043while (position.GetPointerContext(direction) != TextPointerContext.Text) 1053while (position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text)
System\Windows\Documents\CompositionAdorner.cs (3)
484while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 489Invariant.Assert(start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 624(startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text))
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
681if (highlightRangeStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1051case TextPointerContext.Text:
System\Windows\Documents\FixedElement.cs (1)
268if (tpc == TextPointerContext.Text)
System\Windows\Documents\FixedTextPointer.cs (2)
106if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text) 132if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text)
System\Windows\Documents\FixedTextView.cs (2)
1099if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1119Debug.Assert(symbolType == TextPointerContext.Text || symbolType == TextPointerContext.EmbeddedElement);
System\Windows\Documents\FlowPosition.cs (3)
182Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 199Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 769return TextPointerContext.Text;
System\Windows\Documents\Highlights.cs (1)
186case TextPointerContext.Text:
System\Windows\Documents\ImmComposition.cs (4)
1400case TextPointerContext.Text: 1452case TextPointerContext.Text: 1551case TextPointerContext.Text: 1567case TextPointerContext.Text:
System\Windows\Documents\Paragraph.cs (1)
254if (symbolType == TextPointerContext.Text ||
System\Windows\Documents\RangeContentEnumerator.cs (4)
96case TextPointerContext.Text: 108while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 172case TextPointerContext.Text: 179while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text && _navigator.CompareTo(_end) < 0);
System\Windows\Documents\Speller.cs (1)
1684case TextPointerContext.Text:
System\Windows\Documents\TextContainer.cs (1)
509context = TextPointerContext.Text;
System\windows\Documents\TextEditorSpelling.cs (5)
186textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 192textEnd.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text) 197if (textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text || 202Invariant.Assert(textEnd.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 265case TextPointerContext.Text:
System\windows\Documents\TextEditorTyping.cs (2)
643position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text) 673else if (backspacePosition.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text)
System\Windows\Documents\TextEffectResolver.cs (2)
101while (navigator.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text 111while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text
System\Windows\Documents\TextFindEngine.cs (1)
660case TextPointerContext.Text:
System\Windows\Documents\TextPointer.cs (3)
503/// <para>Returns <see cref="TextPointerContext.Text"/> if the TextPointer 3473symbolType = TextPointerContext.Text; 3527symbolType = TextPointerContext.Text;
System\Windows\Documents\TextPointerBase.cs (6)
473if (navigator.GetPointerContext(insideWordDirection) != TextPointerContext.Text) 478if (navigator.GetPointerContext(insideWordDirection) == TextPointerContext.Text) 1332if (backwardContext == TextPointerContext.Text && forwardContext == TextPointerContext.Text) 1436while (navigator.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text); 1456while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text);
System\Windows\Documents\TextRangeBase.cs (4)
411if (position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 681case TextPointerContext.Text: 1311if (thisRange.Start.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 1312thisRange.End.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text)
System\Windows\Documents\TextRangeEdit.cs (1)
1619if (pointerContext == TextPointerContext.Text || pointerContext == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeSerialization.cs (1)
302case TextPointerContext.Text:
System\windows\Documents\TextSelection.cs (6)
469if (caretPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 470caretPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 488if (caretPosition.GetPointerContext(direction) == TextPointerContext.Text && 501(caretPosition.GetPointerContext(oppositeDirection) != TextPointerContext.Text || 1741return (This.Start.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 1742This.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text &&
System\Windows\Documents\TextStore.cs (5)
419case TextPointerContext.Text: 1488if (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 2446Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 2901while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 3187case TextPointerContext.Text:
System\Windows\Documents\TextTreeTextNode.cs (1)
101return TextPointerContext.Text;