90 references to Text
PresentationFramework (90)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1026else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
MS\Internal\Documents\TextBoxLine.cs (1)
75case TextPointerContext.Text:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1010case TextPointerContext.Text:
MS\Internal\PtsHost\Line.cs (3)
142case TextPointerContext.Text: 190while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 598if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd)
MS\Internal\PtsHost\LineBase.cs (1)
81Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
MS\Internal\PtsHost\OptimalTextSource.cs (2)
92case TextPointerContext.Text: 141while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text &&
MS\Internal\PtsHost\TextParaClient.cs (4)
642RectFromDcpSimpleLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 647RectFromDcpCompositeLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 1696if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement)) 1790if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement))
MS\Internal\Text\ComplexLine.cs (4)
43case TextPointerContext.Text: 88while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 296if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd) 330Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
System\Windows\Controls\AccessText.cs (2)
581case TextPointerContext.Text: 629case TextPointerContext.Text:
System\Windows\Controls\PasswordTextNavigator.cs (1)
144symbolType = TextPointerContext.Text;
System\Windows\Controls\TextRangeAdaptor.cs (8)
559if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 576if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 753while (position.GetPointerContext(direction) == TextPointerContext.Text) 1029while (position.GetPointerContext(direction) == TextPointerContext.Text) 1042while (position.GetPointerContext(direction) != TextPointerContext.Text) 1052while (position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text)
System\Windows\Documents\CompositionAdorner.cs (3)
483while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 488Invariant.Assert(start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 623(startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text))
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
680if (highlightRangeStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1050case TextPointerContext.Text:
System\Windows\Documents\FixedElement.cs (1)
267if (tpc == TextPointerContext.Text)
System\Windows\Documents\FixedTextPointer.cs (2)
105if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text) 131if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text)
System\Windows\Documents\FixedTextView.cs (2)
1098if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1118Debug.Assert(symbolType == TextPointerContext.Text || symbolType == TextPointerContext.EmbeddedElement);
System\Windows\Documents\FlowPosition.cs (3)
181Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 198Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 768return TextPointerContext.Text;
System\Windows\Documents\Highlights.cs (1)
185case TextPointerContext.Text:
System\Windows\Documents\ImmComposition.cs (4)
1399case TextPointerContext.Text: 1451case TextPointerContext.Text: 1550case TextPointerContext.Text: 1566case TextPointerContext.Text:
System\Windows\Documents\Paragraph.cs (1)
253if (symbolType == TextPointerContext.Text ||
System\Windows\Documents\RangeContentEnumerator.cs (4)
95case TextPointerContext.Text: 107while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 171case TextPointerContext.Text: 178while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text && _navigator.CompareTo(_end) < 0);
System\Windows\Documents\Speller.cs (1)
1683case TextPointerContext.Text:
System\Windows\Documents\TextContainer.cs (1)
508context = TextPointerContext.Text;
System\windows\Documents\TextEditorSpelling.cs (5)
185textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 191textEnd.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text) 196if (textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text || 201Invariant.Assert(textEnd.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 264case TextPointerContext.Text:
System\windows\Documents\TextEditorTyping.cs (2)
642position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text) 672else if (backspacePosition.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text)
System\Windows\Documents\TextEffectResolver.cs (2)
100while (navigator.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text 110while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text
System\Windows\Documents\TextFindEngine.cs (1)
659case TextPointerContext.Text:
System\Windows\Documents\TextPointer.cs (3)
502/// <para>Returns <see cref="TextPointerContext.Text"/> if the TextPointer 3472symbolType = TextPointerContext.Text; 3526symbolType = TextPointerContext.Text;
System\Windows\Documents\TextPointerBase.cs (6)
472if (navigator.GetPointerContext(insideWordDirection) != TextPointerContext.Text) 477if (navigator.GetPointerContext(insideWordDirection) == TextPointerContext.Text) 1331if (backwardContext == TextPointerContext.Text && forwardContext == TextPointerContext.Text) 1435while (navigator.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text); 1455while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text);
System\Windows\Documents\TextRangeBase.cs (4)
410if (position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 680case TextPointerContext.Text: 1310if (thisRange.Start.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 1311thisRange.End.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text)
System\Windows\Documents\TextRangeEdit.cs (1)
1618if (pointerContext == TextPointerContext.Text || pointerContext == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeSerialization.cs (1)
301case TextPointerContext.Text:
System\windows\Documents\TextSelection.cs (6)
468if (caretPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 469caretPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 487if (caretPosition.GetPointerContext(direction) == TextPointerContext.Text && 500(caretPosition.GetPointerContext(oppositeDirection) != TextPointerContext.Text || 1740return (This.Start.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 1741This.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text &&
System\Windows\Documents\TextStore.cs (5)
418case TextPointerContext.Text: 1484if (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 2436Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 2891while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 3177case TextPointerContext.Text:
System\Windows\Documents\TextTreeTextNode.cs (1)
100return TextPointerContext.Text;