4 instantiations of TextEditor
PresentationFramework (4)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
995_textEditor = new TextEditor(Document.StructuralCache.TextContainer, this, false);
System\Windows\Controls\PasswordBox.cs (1)
886_textEditor = new TextEditor(_textContainer, this, true);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1042_textEditor = new TextEditor(textContainer, this, false);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1500_textEditor = new TextEditor(_textContainer, this, true);
420 references to TextEditor
PresentationFramework (420)
MS\Internal\Documents\DocumentGrid.cs (1)
3070private TextEditor TextEditor
MS\Internal\Documents\DocumentViewerHelper.cs (1)
78internal static ITextRange Find(FindToolBar findToolBar, TextEditor textEditor, ITextView textView, ITextView masterPageTextView)
MS\Internal\Documents\TextBoxLine.cs (1)
456var textEditor = position.TextContainer.TextSelection?.TextEditor;
MS\Internal\Helper.cs (1)
1493System.Windows.Documents.TextEditor te = tbb.TextEditor;
System\Windows\Annotations\AnnotationHelper.cs (1)
1062return viewer == null ? null : TextEditor.GetTextSelection(viewer);
System\Windows\Controls\FlowDocumentReader.cs (3)
1573TextEditor textEditor = TextEditor; 1874private TextEditor TextEditor 1878TextEditor textEditor = null;
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
123ClearValue(TextEditor.PageHeightProperty); 1023SetValue(TextEditor.PageHeightProperty, e.ViewportHeight); 1339TextEditor.RegisterCommandHandlers(typeof(FlowDocumentScrollViewer), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true); 1816private TextEditor _textEditor; // Text editor (enables text selection)
System\Windows\Controls\PasswordBox.cs (3)
849TextEditor.RegisterCommandHandlers(typeof(PasswordBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false); 1041ITextView textview = TextEditor.GetTextView(_renderScope); 1282private TextEditor _textEditor;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
739internal TextEditor TextEditor 1492TextEditor.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true); 1667private TextEditor _textEditor; // TextEditor associated with DocumentViewer.
System\Windows\Controls\Primitives\TextBoxBase.cs (12)
434TextEditor.IsReadOnlyProperty.AddOwner( 446get { return (bool) GetValue(TextEditor.IsReadOnlyProperty); } 447set { SetValue(TextEditor.IsReadOnlyProperty, value); } 1546if (TextEditor.GetTextView(this.RenderScope).Validate(point)) 1548position = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, snapToText); 1586if (TextEditor.GetTextView(this.RenderScope).Validate(position)) 1589rect = TextEditor.GetTextView(this.RenderScope).GetRectangleFromTextPosition(position); 1626SetValue(TextEditor.PageHeightProperty, this.ScrollViewer.ViewportHeight); 1646ClearValue(TextEditor.PageHeightProperty); 1831internal TextEditor TextEditor 2075SetValue(TextEditor.PageHeightProperty, e.ViewportHeight); 2239private TextEditor _textEditor;
System\Windows\Controls\RichTextBox.cs (1)
98TextEditor.RegisterCommandHandlers(typeof(RichTextBox), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
System\Windows\Controls\SpellCheck.cs (4)
199TextEditor textEditor = TextEditor._GetTextEditor(textBoxBase); 219TextEditor textEditor = TextEditor._GetTextEditor(textBoxBase);
System\Windows\Controls\TextBox.cs (7)
93TextEditor.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false); 1446if (TextEditor.GetTextView(this.RenderScope).Validate(point)) 1448textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true); 1449textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection); 1475if (TextEditor.GetTextView(this.RenderScope).Validate(point)) 1477textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true); 1478textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
System\windows\Documents\CaretElement.cs (6)
50internal CaretElement(TextEditor textEditor, bool isBlinkEnabled) : base(textEditor.TextView.RenderScope) 640TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 774TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 775return ((ITextSelection)TextEditor._ThreadLocalStore.FocusedTextSelection).CaretElement; 784return ((ITextSelection)TextEditor._ThreadLocalStore.FocusedTextSelection).TextView.RenderScope as FrameworkElement; // TextBlock / TextFlow 1233private readonly TextEditor _textEditor;
System\Windows\Documents\ImmComposition.cs (6)
106internal void OnDetach(TextEditor editor) 126internal void OnGotFocus(TextEditor editor) 667view = TextEditor.GetTextView(RenderScope); 1649view = TextEditor.GetTextView(RenderScope); 1882return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly); 1924private TextEditor _editor;
System\Windows\Documents\ITextSelection.cs (1)
158TextEditor TextEditor { get; }
System\Windows\Documents\Speller.cs (2)
42internal Speller(TextEditor textEditor) 2004private TextEditor _textEditor;
System\windows\Documents\TextEditor.cs (34)
98_uiScope.SetValue(TextEditor.InstanceProperty, this); 215_uiScope.ClearValue(TextEditor.InstanceProperty); 314TextEditor textEditor = TextEditor._GetTextEditor(frameworkElement); 788typeof(TextEditor), 808typeof(TextEditor), 818typeof(TextEditor), 977return _uiScope == null ? false : (bool)_uiScope.GetValue(TextEditor.IsReadOnlyProperty); 1032return _uiScope == null ? true : (bool)_uiScope.GetValue(TextEditor.AllowOvertypeProperty); 1134internal static TextEditor _GetTextEditor(object element) 1136return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as TextEditor) : null; 1641TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1664TextEditor This = TextEditor._GetTextEditor(frameworkElement); 1695TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1750TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1790TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1833TextEditor This = TextEditor._GetTextEditor((FrameworkElement)target); 1859TextEditor This = TextEditor._GetTextEditor((FrameworkElement)target); 1885TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1905TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1934public TextEditorShutDownListener(TextEditor target) 1941TextEditor editor = (TextEditor)target; 1966"Instance", typeof(TextEditor), typeof(TextEditor), //
System\windows\Documents\TextEditorCharacters.cs (35)
73internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue) 78internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs) 83internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs, PropertyValueAction propertyValueAction) 136TextEditor This = TextEditor._GetTextEditor(target); 181TextEditor This = TextEditor._GetTextEditor(target); 201TextEditor This = TextEditor._GetTextEditor(target); 224TextEditor This = TextEditor._GetTextEditor(target); 253TextEditor This = TextEditor._GetTextEditor(sender); 272TextEditor This = TextEditor._GetTextEditor(sender); 300TextEditor This = TextEditor._GetTextEditor(target); 342TextEditor This = TextEditor._GetTextEditor(target); 387TextEditor This = TextEditor._GetTextEditor(target); 400TextEditor This = TextEditor._GetTextEditor(target); 413TextEditor This = TextEditor._GetTextEditor(target); 426TextEditor This = TextEditor._GetTextEditor(target); 435TextEditor This = TextEditor._GetTextEditor(target); 450TextEditor This = TextEditor._GetTextEditor(target); 459TextEditor This = TextEditor._GetTextEditor(target); 476TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorContextMenu.cs (9)
48TextEditor This = TextEditor._GetTextEditor(sender); 246TextEditor This = TextEditor._GetTextEditor(placementTarget); 261private static void GetClippedPositionOffsets(TextEditor This, ITextPointer position, LogicalDirection direction, 437internal void AddMenuItems(TextEditor textEditor) 478private bool AddSpellerItems(TextEditor textEditor) 543private bool AddReconversionItems(TextEditor textEditor) 602private bool AddClipboardItems(TextEditor textEditor)
System\windows\Documents\TextEditorCopyPaste.cs (26)
73internal static DataObject _CreateDataObject(TextEditor This, bool isDragDrop) 187internal static bool _DoPaste(TextEditor This, IDataObject dataObject, bool isDragDrop) 239internal static string GetPasteApplyFormat(TextEditor This, IDataObject dataObject) 284internal static void Cut(TextEditor This, bool userInitiated) 332internal static void Copy(TextEditor This, bool userInitiated) 366internal static void Paste(TextEditor This) 493TextEditor This = TextEditor._GetTextEditor(target); 517TextEditor This = TextEditor._GetTextEditor(target); 538TextEditor This = TextEditor._GetTextEditor(target); 563TextEditor This = TextEditor._GetTextEditor(target); 584TextEditor This = TextEditor._GetTextEditor(target); 614TextEditor This = TextEditor._GetTextEditor(target); 629TextEditor This = TextEditor._GetTextEditor(target); 651TextEditor This = TextEditor._GetTextEditor(target); 683private static bool PasteContentData(TextEditor This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply) 885private static bool PasteTextElement(TextEditor This, TextElement sectionOrSpan) 913private static bool PasteXaml(TextEditor This, string pasteXaml) 947private static bool PastePlainText(TextEditor This, string pastedText)
System\windows\Documents\TextEditorDragDrop.cs (17)
87internal _DragDropProcess(TextEditor textEditor) 384double pageHeight = (double)_textEditor.UiScope.GetValue(TextEditor.PageHeightProperty); 691private TextEditor _textEditor; 717TextEditor This = TextEditor._GetTextEditor(sender); 750TextEditor This = TextEditor._GetTextEditor(sender); 778TextEditor This = TextEditor._GetTextEditor(sender); 826TextEditor This = TextEditor._GetTextEditor(sender); 873TextEditor This = TextEditor._GetTextEditor(sender); 902TextEditor This = TextEditor._GetTextEditor(sender); 930TextEditor This = TextEditor._GetTextEditor(sender);
System\windows\Documents\TextEditorLists.cs (9)
54internal static void DecreaseIndentation(TextEditor This) 80private static TextEditor IsEnabledNotReadOnlyIsTextSegment(object sender) 82TextEditor This = TextEditor._GetTextEditor(sender); 96TextEditor This = IsEnabledNotReadOnlyIsTextSegment(sender); 111TextEditor This = TextEditor._GetTextEditor(target); 124TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorMouse.cs (19)
76internal static void SetCaretPositionOnMouseEvent(TextEditor This, Point mouseDownPoint, MouseButton changedButton, int clickCount) 136internal static bool IsPointWithinInteractiveArea(TextEditor textEditor, Point point) 164TextEditor This = TextEditor._GetTextEditor(sender); 248if (TextEditor.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseDownPoint)) 285TextEditor This = TextEditor._GetTextEditor(sender); 317TextEditor This = TextEditor._GetTextEditor(sender); 398TextEditor This = TextEditor._GetTextEditor(sender); 444private static void OnMouseMoveWithoutFocus(TextEditor This, MouseEventArgs e) 451private static void OnMouseMoveWithFocus(TextEditor This, MouseEventArgs e) 461TextEditor._ThreadLocalStore.PureControlShift = false; 608private static bool MoveFocusToUiScope(TextEditor This) 685private static void UpdateCursor(TextEditor This, Point mouseMovePoint) 693if (TextEditor.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseMovePoint)) 728private static UIElement GetUIElementWhenMouseOver(TextEditor This, Point mouseMovePoint) 772private static bool IsPointWithinRenderScope(TextEditor textEditor, Point point)
System\windows\Documents\TextEditorParagraphs.cs (14)
82TextEditor This = TextEditor._GetTextEditor(sender); 97TextEditor This = TextEditor._GetTextEditor(sender); 112TextEditor This = TextEditor._GetTextEditor(sender); 127TextEditor This = TextEditor._GetTextEditor(sender); 157TextEditor This = TextEditor._GetTextEditor(sender); 167TextEditor This = TextEditor._GetTextEditor(sender); 185TextEditor This = TextEditor._GetTextEditor(sender);
System\windows\Documents\TextEditorSelection.cs (91)
105internal static void _ClearSuggestedX(TextEditor This) 161TextEditor This = TextEditor._GetTextEditor(target); 196TextEditor This = TextEditor._GetTextEditor(target); 212TextEditor This = TextEditor._GetTextEditor(target); 228TextEditor This = TextEditor._GetTextEditor(target); 244TextEditor This = TextEditor._GetTextEditor(target); 258TextEditor This = TextEditor._GetTextEditor(sender); 350TextEditor This = TextEditor._GetTextEditor(sender); 440TextEditor This = TextEditor._GetTextEditor(sender); 495TextEditor This = TextEditor._GetTextEditor(sender); 549TextEditor This = TextEditor._GetTextEditor(sender); 590double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 669TextEditor This = TextEditor._GetTextEditor(sender); 707double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 786TextEditor This = TextEditor._GetTextEditor(target); 838TextEditor This = TextEditor._GetTextEditor(target); 890TextEditor This = TextEditor._GetTextEditor(target); 918TextEditor This = TextEditor._GetTextEditor(target); 954TextEditor This = TextEditor._GetTextEditor(target); 970TextEditor This = TextEditor._GetTextEditor(target); 985TextEditor This = TextEditor._GetTextEditor(target); 1001TextEditor This = TextEditor._GetTextEditor(target); 1015TextEditor This = TextEditor._GetTextEditor(sender); 1121private static void AdjustMovingPositionForSelectDownByLine(TextEditor This, ITextPointer newMovingPosition, ITextPointer originalMovingPosition, double suggestedX) 1187TextEditor This = TextEditor._GetTextEditor(sender); 1311TextEditor This = TextEditor._GetTextEditor(sender); 1352TextEditor This = TextEditor._GetTextEditor(sender); 1396TextEditor This = TextEditor._GetTextEditor(sender); 1418double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 1492TextEditor This = TextEditor._GetTextEditor(sender); 1514double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 1590TextEditor This = TextEditor._GetTextEditor(target); 1635TextEditor This = TextEditor._GetTextEditor(target); 1723TextEditor This = TextEditor._GetTextEditor(target); 1751TextEditor This = TextEditor._GetTextEditor(target); 1785TextEditor This = e.UserState as TextEditor; 1815TextEditor This = e.UserState as TextEditor; 1840TextEditor This; 1847This = e.UserState as TextEditor; 1903TextEditor This; 1910This = e.UserState as TextEditor; 1970TextEditor This = TextEditor._GetTextEditor(target); 1985TextEditor This = TextEditor._GetTextEditor(target); 2021private static void ClearSpringloadFormatting(TextEditor This) 2032private static bool IsFlowDirectionRightToLeftThenTopToBottom(TextEditor textEditor) 2052private static void MoveToCharacterLogicalDirection(TextEditor textEditor, LogicalDirection direction, bool extend) 2113private static void NavigateWordLogicalDirection(TextEditor textEditor, LogicalDirection direction) 2188private static void ExtendWordLogicalDirection(TextEditor textEditor, LogicalDirection direction) 2234private static Double GetSuggestedX(TextEditor This, out ITextPointer innerMovingPosition) 2282private static Double GetSuggestedYFromPosition(TextEditor This, ITextPointer position) 2298private static void UpdateSuggestedXOnColumnOrPageBoundary(TextEditor This, double newSuggestedX) 2316private static ITextPointer GetMovingPositionInner(TextEditor This) 2346private static ITextPointer GetStartInner(TextEditor This) 2358private static ITextPointer GetEndInner(TextEditor This) 2385private static void ExtendSelectionAndBringIntoView(ITextPointer position, TextEditor textEditor) 2391private static void BringIntoView(ITextPointer position, TextEditor textEditor) 2393double pageHeight = (double)textEditor.UiScope.GetValue(TextEditor.PageHeightProperty); 2407private static void AdjustCaretAtTableRowEnd(TextEditor This)
System\windows\Documents\TextEditorSpelling.cs (9)
37internal static SpellingError GetSpellingErrorAtPosition(TextEditor This, ITextPointer position, LogicalDirection direction) 43internal static SpellingError GetSpellingErrorAtSelection(TextEditor This) 102internal static ITextPointer GetNextSpellingErrorPosition(TextEditor This, ITextPointer position, LogicalDirection direction) 123TextEditor This = TextEditor._GetTextEditor(target); 225TextEditor This = TextEditor._GetTextEditor(target); 242TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorTables.cs (4)
71TextEditor This = TextEditor._GetTextEditor(target); 127TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorTyping.cs (73)
97internal static void _AddInputLanguageChangedEventHandler(TextEditor This) 105threadLocalStore = TextEditor._ThreadLocalStore; 124internal static void _RemoveInputLanguageChangedEventHandler(TextEditor This) 128threadLocalStore = TextEditor._ThreadLocalStore; 148internal static void _BreakTypingSequence(TextEditor This) 155internal static void _FlushPendingInputItems(TextEditor This) 164threadLocalStore = TextEditor._ThreadLocalStore; 197if (TextEditor._ThreadLocalStore.HideCursor) 199TextEditor._ThreadLocalStore.HideCursor = false; 260TextEditor This = richTextBox.TextEditor; 292TextEditor This = TextEditor._GetTextEditor(sender); 308TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 338TextEditor This = TextEditor._GetTextEditor(sender); 350if (TextEditor._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0) 367TextEditor This = TextEditor._GetTextEditor(sender); 436TextEditor This = TextEditor._GetTextEditor(target); 460TextEditor This = TextEditor._GetTextEditor(target); 478TextEditor This = TextEditor._GetTextEditor(target); 532TextEditor This = TextEditor._GetTextEditor(sender); 585TextEditor This = TextEditor._GetTextEditor(sender); 739private static bool HandleDeleteWhenStructuralBoundaryIsCrossed(TextEditor This, TextPointer position, TextPointer deletePosition) 900TextEditor This = TextEditor._GetTextEditor(sender); 958TextEditor This = TextEditor._GetTextEditor(sender); 1033TextEditor This = TextEditor._GetTextEditor(sender); 1053TextEditor This = TextEditor._GetTextEditor(sender); 1099private static bool HandleEnterBreakForRichText(TextEditor This, ICommand command) 1148private static bool HandleEnterBreakForPlainText(TextEditor This) 1170private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(TextEditor This, ICommand command) 1223private static void OnFlowDirectionCommand(TextEditor This, Key key) 1274TextEditor This = TextEditor._GetTextEditor(sender); 1314TextEditor This = TextEditor._GetTextEditor(sender); 1330TextEditor This = TextEditor._GetTextEditor(sender); 1344TextEditor This = TextEditor._GetTextEditor(sender); 1375TextEditor This = TextEditor._GetTextEditor(sender); 1406private static bool HandleTabInTables(TextEditor This, LogicalDirection direction) 1527private static void DoTextInput(TextEditor This, string textData, bool isInsertKeyToggled, bool acceptControlCharacters) 1591private static void ScheduleInput(TextEditor This, InputItem item) 1603threadLocalStore = TextEditor._ThreadLocalStore; 1619private static bool IsMouseInputPending(TextEditor This) 1641TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1643Invariant.Assert(This is TextEditor); 1648TextEditorTyping._FlushPendingInputItems((TextEditor)This); 1670TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1688internal InputItem(TextEditor textEditor) 1697TextEditor _textEditor; 1699protected TextEditor TextEditor 1712internal TextInputItem(TextEditor textEditor, string text, bool isInsertKeyToggled) 1740internal KeyUpInputItem(TextEditor textEditor, Key key, ModifierKeys modifiers) 1799private static void OpenTypingUndoUnit(TextEditor This) 1824private static void CloseTypingUndoUnit(TextEditor This, UndoCloseAction closeAction) 1850TextEditor This = TextEditor._GetTextEditor(target); 1880private static void HideCursor(TextEditor This) 1882if (!TextEditor._ThreadLocalStore.HideCursor && 1886TextEditor._ThreadLocalStore.HideCursor = true; 1893private static void UpdateHyperlinkCursor(TextEditor This)
System\windows\Documents\TextSelection.cs (14)
42internal TextSelection(TextEditor textEditor) 1212TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1619internal static Brush GetCaretBrush(TextEditor textEditor) 1779TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1789if (TextEditor._ThreadLocalStore.FocusedTextSelection == this) 1791TextEditor._ThreadLocalStore.FocusedTextSelection = null; 2036private static void RefreshCaret(TextEditor textEditor, ITextSelection textSelection) 2080TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 2362private static double CalculateScrollToOriginPosition(TextEditor textEditor, ITextPointer caretPosition, double horizontalCaretPosition) 2420TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 2433TextEditor._ThreadLocalStore.Bidi = true; 2437TextEditor._ThreadLocalStore.Bidi = false; 2622TextEditor ITextSelection.TextEditor 2721private TextEditor _textEditor;
System\Windows\Documents\TextServicesHost.cs (2)
197TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 394TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore;
System\Windows\Documents\TextStore.cs (7)
61internal TextStore(TextEditor textEditor) 2055internal static FrameworkTextComposition CreateComposition(TextEditor editor, object owner) 2326TextEditor textEditor = this.TextEditor; 4139private TextEditor TextEditor 4153return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.IsReadOnly); 4245internal TextEditor TextEditor 4251return (TextEditor)this.Target;