89 references to Text
PresentationFramework (89)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1056else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
85case TextPointerContext.Text:
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1060case TextPointerContext.Text:
src\Framework\MS\Internal\PtsHost\Line.cs (3)
163case TextPointerContext.Text: 211while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 620if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd)
src\Framework\MS\Internal\PtsHost\LineBase.cs (1)
95Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (2)
112case TextPointerContext.Text: 161while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text &&
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (4)
739RectFromDcpSimpleLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 744RectFromDcpCompositeLines(0, 0, LogicalDirection.Forward, TextPointerContext.Text, ref textDetails.u.full, ref rect, ref vrBaseline); 1903if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement)) 2002if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement))
src\Framework\MS\Internal\Text\ComplexLine.cs (4)
52case TextPointerContext.Text: 100while (position.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 309if (type == TextPointerContext.Text || type == TextPointerContext.ElementEnd) 343Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
src\Framework\System\Windows\Controls\AccessText.cs (2)
582case TextPointerContext.Text: 629case TextPointerContext.Text:
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
151symbolType = TextPointerContext.Text;
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (8)
570if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 587if (forwardContext == TextPointerContext.Text && backwardContext != TextPointerContext.Text) 764while (position.GetPointerContext(direction) == TextPointerContext.Text) 1041while (position.GetPointerContext(direction) == TextPointerContext.Text) 1054while (position.GetPointerContext(direction) != TextPointerContext.Text) 1064while (position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text)
src\Framework\System\Windows\Documents\CompositionAdorner.cs (3)
490while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 495Invariant.Assert(start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 630(startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text))
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1077case TextPointerContext.Text:
src\Framework\System\Windows\Documents\FixedElement.cs (1)
277if (tpc == TextPointerContext.Text)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (2)
119if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text) 148if (_flowPosition.GetPointerContext(direction) != TextPointerContext.Text)
src\Framework\System\Windows\Documents\FixedTextView.cs (2)
1127if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1147Debug.Assert(symbolType == TextPointerContext.Text || symbolType == TextPointerContext.EmbeddedElement);
src\Framework\System\Windows\Documents\FlowPosition.cs (3)
193Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 210Debug.Assert(GetPointerContext(dir) == TextPointerContext.Text); 780return TextPointerContext.Text;
src\Framework\System\Windows\Documents\Highlights.cs (1)
193case TextPointerContext.Text:
src\Framework\System\Windows\Documents\ImmComposition.cs (4)
1568case TextPointerContext.Text: 1620case TextPointerContext.Text: 1723case TextPointerContext.Text: 1739case TextPointerContext.Text:
src\Framework\System\Windows\Documents\Paragraph.cs (1)
261if (symbolType == TextPointerContext.Text ||
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (4)
114case TextPointerContext.Text: 126while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 190case TextPointerContext.Text: 197while (_navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text && _navigator.CompareTo(_end) < 0);
src\Framework\System\Windows\Documents\Speller.cs (1)
1819case TextPointerContext.Text:
src\Framework\System\Windows\Documents\TextContainer.cs (1)
529context = TextPointerContext.Text;
src\Framework\System\windows\Documents\TextEditorSpelling.cs (5)
189textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 195textEnd.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text) 200if (textStart.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text || 205Invariant.Assert(textEnd.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 268case TextPointerContext.Text:
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
677position.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text) 707else if (backspacePosition.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text)
src\Framework\System\Windows\Documents\TextEffectResolver.cs (2)
114while (navigator.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text 124while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
680case TextPointerContext.Text:
src\Framework\System\Windows\Documents\TextPointer.cs (3)
519/// <para>Returns <see cref="TextPointerContext.Text"/> if the TextPointer 3504symbolType = TextPointerContext.Text; 3558symbolType = TextPointerContext.Text;
src\Framework\System\Windows\Documents\TextPointerBase.cs (6)
477if (navigator.GetPointerContext(insideWordDirection) != TextPointerContext.Text) 482if (navigator.GetPointerContext(insideWordDirection) == TextPointerContext.Text) 1339if (backwardContext == TextPointerContext.Text && forwardContext == TextPointerContext.Text) 1443while (navigator.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text); 1463while (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text);
src\Framework\System\Windows\Documents\TextRangeBase.cs (4)
425if (position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 695case TextPointerContext.Text: 1328if (thisRange.Start.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 1329thisRange.End.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text)
src\Framework\System\Windows\Documents\TextRangeEdit.cs (1)
1623if (pointerContext == TextPointerContext.Text || pointerContext == TextPointerContext.EmbeddedElement)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
314case TextPointerContext.Text:
src\Framework\System\windows\Documents\TextSelection.cs (6)
487if (caretPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text && 488caretPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 506if (caretPosition.GetPointerContext(direction) == TextPointerContext.Text && 519(caretPosition.GetPointerContext(oppositeDirection) != TextPointerContext.Text || 1767return (This.Start.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.Text && 1768This.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text &&
src\Framework\System\Windows\Documents\TextStore.cs (5)
323case TextPointerContext.Text: 1367if (navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text) 2318Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text); 2805while (start.CompareTo(end) < 0 && start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.Text) 3111case TextPointerContext.Text:
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (1)
106return TextPointerContext.Text;