90 references to Text
PresentationFramework (90)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1037else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
MS\Internal\Documents\TextBoxLine.cs (1)
83case TextPointerContext.Text:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1034case TextPointerContext.Text:
MS\Internal\PtsHost\Line.cs (3)
160case TextPointerContext.Text: 208while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 617if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd)
MS\Internal\PtsHost\LineBase.cs (1)
92Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
MS\Internal\PtsHost\OptimalTextSource.cs (2)
108case TextPointerContext.Text: 157while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text &&
MS\Internal\PtsHost\TextParaClient.cs (4)
649RectFromDcpSimpleLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 654RectFromDcpCompositeLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 1703if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement)) 1797if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement))
MS\Internal\Text\ComplexLine.cs (4)
49case TextPointerContext.Text: 97while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 305if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd) 339Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
System\Windows\Controls\AccessText.cs (2)
582case TextPointerContext.Text: 628case TextPointerContext.Text:
System\Windows\Controls\PasswordTextNavigator.cs (1)
149symbolType = TextPointerContext.Text;
System\Windows\Controls\TextRangeAdaptor.cs (8)
562if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 579if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 756while (position.GetPointerContext(direction) == TextPointerContext.Text) 1032while (position.GetPointerContext(direction) == TextPointerContext.Text) 1045while (position.GetPointerContext(direction) != TextPointerContext.Text) 1055while (position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text)
System\Windows\Documents\CompositionAdorner.cs (3)
488while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 493Invariant.Assert(start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 628(startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text))
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
698if (highlightRangeStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1060case TextPointerContext.Text:
System\Windows\Documents\FixedElement.cs (1)
272if (tpc == TextPointerContext.Text)
System\Windows\Documents\FixedTextPointer.cs (2)
113if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text) 139if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text)
System\Windows\Documents\FixedTextView.cs (2)
1115if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1135Debug.Assert(symbolType == TextPointerContext.Text || symbolType == TextPointerContext.EmbeddedElement);
System\Windows\Documents\FlowPosition.cs (3)
186Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 203Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 773return TextPointerContext.Text;
System\Windows\Documents\Highlights.cs (1)
187case TextPointerContext.Text:
System\Windows\Documents\ImmComposition.cs (4)
1421case TextPointerContext.Text: 1473case TextPointerContext.Text: 1572case TextPointerContext.Text: 1588case TextPointerContext.Text:
System\Windows\Documents\Paragraph.cs (1)
254if (symbolType == TextPointerContext.Text ||
System\Windows\Documents\RangeContentEnumerator.cs (4)
106case TextPointerContext.Text: 118while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 182case TextPointerContext.Text: 189while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text && _navigator.CompareTo(_end) < 0);
System\Windows\Documents\Speller.cs (1)
1716case TextPointerContext.Text:
System\Windows\Documents\TextContainer.cs (1)
514context = TextPointerContext.Text;
System\windows\Documents\TextEditorSpelling.cs (5)
187textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 193textEnd.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text) 198if (textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text || 203Invariant.Assert(textEnd.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 266case TextPointerContext.Text:
System\windows\Documents\TextEditorTyping.cs (2)
661position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text) 691else if (backspacePosition.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text)
System\Windows\Documents\TextEffectResolver.cs (2)
105while (navigator.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text 115while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text
System\Windows\Documents\TextFindEngine.cs (1)
669case TextPointerContext.Text:
System\Windows\Documents\TextPointer.cs (3)
508/// <para>Returns <see cref="TextPointerContext.Text"/> if the TextPointer 3478symbolType = TextPointerContext.Text; 3532symbolType = TextPointerContext.Text;
System\Windows\Documents\TextPointerBase.cs (6)
475if (navigator.GetPointerContext(insideWordDirection) != TextPointerContext.Text) 480if (navigator.GetPointerContext(insideWordDirection) == TextPointerContext.Text) 1337if (backwardContext == TextPointerContext.Text && forwardContext == TextPointerContext.Text) 1441while (navigator.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text); 1461while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text);
System\Windows\Documents\TextRangeBase.cs (4)
414if (position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 684case TextPointerContext.Text: 1314if (thisRange.Start.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 1315thisRange.End.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text)
System\Windows\Documents\TextRangeEdit.cs (1)
1621if (pointerContext == TextPointerContext.Text || pointerContext == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeSerialization.cs (1)
308case TextPointerContext.Text:
System\windows\Documents\TextSelection.cs (6)
484if (caretPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 485caretPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 503if (caretPosition.GetPointerContext(direction) == TextPointerContext.Text && 516(caretPosition.GetPointerContext(oppositeDirection) != TextPointerContext.Text || 1759return (This.Start.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 1760This.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text &&
System\Windows\Documents\TextStore.cs (5)
430case TextPointerContext.Text: 1502if (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 2472Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 2925while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 3211case TextPointerContext.Text:
System\Windows\Documents\TextTreeTextNode.cs (1)
100return TextPointerContext.Text;