90 references to Text
PresentationFramework (90)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1030else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
MS\Internal\Documents\TextBoxLine.cs (1)
76case TextPointerContext.Text:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1029case TextPointerContext.Text:
MS\Internal\PtsHost\Line.cs (3)
154case TextPointerContext.Text: 202while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 611if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd)
MS\Internal\PtsHost\LineBase.cs (1)
86Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
MS\Internal\PtsHost\OptimalTextSource.cs (2)
101case TextPointerContext.Text: 150while (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)
580case TextPointerContext.Text: 626case 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)
485while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 490Invariant.Assert(start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 625(startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text))
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
690if (highlightRangeStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1054case TextPointerContext.Text:
System\Windows\Documents\FixedElement.cs (1)
264if (tpc == TextPointerContext.Text)
System\Windows\Documents\FixedTextPointer.cs (2)
108if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text) 134if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text)
System\Windows\Documents\FixedTextView.cs (2)
1107if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1127Debug.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)
1413case TextPointerContext.Text: 1465case TextPointerContext.Text: 1564case TextPointerContext.Text: 1580case TextPointerContext.Text:
System\Windows\Documents\Paragraph.cs (1)
254if (symbolType == TextPointerContext.Text ||
System\Windows\Documents\RangeContentEnumerator.cs (4)
102case TextPointerContext.Text: 114while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 178case TextPointerContext.Text: 185while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text && _navigator.CompareTo(_end) < 0);
System\Windows\Documents\Speller.cs (1)
1687case 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)
652position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text) 682else 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)
661case 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)
481if (caretPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 482caretPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 500if (caretPosition.GetPointerContext(direction) == TextPointerContext.Text && 513(caretPosition.GetPointerContext(oppositeDirection) != TextPointerContext.Text || 1756return (This.Start.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 1757This.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text &&
System\Windows\Documents\TextStore.cs (5)
419case TextPointerContext.Text: 1491if (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 2452Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 2905while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 3191case TextPointerContext.Text:
System\Windows\Documents\TextTreeTextNode.cs (1)
99return TextPointerContext.Text;