4 instantiations of TextEditor
PresentationFramework (4)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
987_textEditor = new TextEditor(Document.StructuralCache.TextContainer, this, false)
System\Windows\Controls\PasswordBox.cs (1)
870_textEditor = new TextEditor(_textContainer, this, true);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1016_textEditor = new TextEditor(textContainer, this, false)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1438_textEditor = new TextEditor(_textContainer, this, true);
420 references to TextEditor
PresentationFramework (420)
MS\Internal\Documents\DocumentGrid.cs (1)
3055private TextEditor TextEditor
MS\Internal\Documents\DocumentViewerHelper.cs (1)
75internal static ITextRange Find(FindToolBar findToolBar, TextEditor textEditor, ITextView textView, ITextView masterPageTextView)
MS\Internal\Documents\TextBoxLine.cs (1)
448var textEditor = position.TextContainer.TextSelection?.TextEditor;
MS\Internal\Helper.cs (1)
1477System.Windows.Documents.TextEditor te = tbb.TextEditor;
System\Windows\Annotations\AnnotationHelper.cs (1)
1047return viewer == null ? null : TextEditor.GetTextSelection(viewer);
System\Windows\Controls\FlowDocumentReader.cs (3)
1544TextEditor textEditor = TextEditor; 1833private TextEditor TextEditor 1837TextEditor textEditor = null;
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
119ClearValue(TextEditor.PageHeightProperty); 1017SetValue(TextEditor.PageHeightProperty, e.ViewportHeight); 1326TextEditor.RegisterCommandHandlers(typeof(FlowDocumentScrollViewer), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true); 1776private TextEditor _textEditor; // Text editor (enables text selection)
System\Windows\Controls\PasswordBox.cs (3)
833TextEditor.RegisterCommandHandlers(typeof(PasswordBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false); 1020ITextView textview = TextEditor.GetTextView(_renderScope); 1255private TextEditor _textEditor;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
719internal TextEditor TextEditor 1458TextEditor.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true); 1631private TextEditor _textEditor; // TextEditor associated with DocumentViewer.
System\Windows\Controls\Primitives\TextBoxBase.cs (12)
426TextEditor.IsReadOnlyProperty.AddOwner( 438get { return (bool) GetValue(TextEditor.IsReadOnlyProperty); } 439set { SetValue(TextEditor.IsReadOnlyProperty, value); } 1481if (TextEditor.GetTextView(this.RenderScope).Validate(point)) 1483position = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, snapToText); 1521if (TextEditor.GetTextView(this.RenderScope).Validate(position)) 1524rect = TextEditor.GetTextView(this.RenderScope).GetRectangleFromTextPosition(position); 1558SetValue(TextEditor.PageHeightProperty, this.ScrollViewer.ViewportHeight); 1578ClearValue(TextEditor.PageHeightProperty); 1757internal TextEditor TextEditor 1995SetValue(TextEditor.PageHeightProperty, e.ViewportHeight); 2159private TextEditor _textEditor;
System\Windows\Controls\RichTextBox.cs (1)
93TextEditor.RegisterCommandHandlers(typeof(RichTextBox), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
System\Windows\Controls\SpellCheck.cs (4)
195TextEditor textEditor = TextEditor._GetTextEditor(textBoxBase); 215TextEditor textEditor = TextEditor._GetTextEditor(textBoxBase);
System\Windows\Controls\TextBox.cs (7)
85TextEditor.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false); 1440if (TextEditor.GetTextView(this.RenderScope).Validate(point)) 1442textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true); 1443textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection); 1469if (TextEditor.GetTextView(this.RenderScope).Validate(point)) 1471textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true); 1472textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
System\windows\Documents\CaretElement.cs (6)
43internal CaretElement(TextEditor textEditor, bool isBlinkEnabled) : base(textEditor.TextView.RenderScope) 635TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 771TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 772return ((ITextSelection)TextEditor._ThreadLocalStore.FocusedTextSelection).CaretElement; 781return ((ITextSelection)TextEditor._ThreadLocalStore.FocusedTextSelection).TextView.RenderScope as FrameworkElement; // TextBlock / TextFlow 1221private readonly TextEditor _textEditor;
System\Windows\Documents\ImmComposition.cs (6)
89internal void OnDetach(TextEditor editor) 109internal void OnGotFocus(TextEditor editor) 643view = TextEditor.GetTextView(RenderScope); 1627view = TextEditor.GetTextView(RenderScope); 1860return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly); 1902private TextEditor _editor;
System\Windows\Documents\ITextSelection.cs (1)
149TextEditor TextEditor { get; }
System\Windows\Documents\Speller.cs (2)
37internal Speller(TextEditor textEditor) 1996private TextEditor _textEditor;
System\windows\Documents\TextEditor.cs (34)
86_uiScope.SetValue(TextEditor.InstanceProperty, this); 203_uiScope.ClearValue(TextEditor.InstanceProperty); 299TextEditor textEditor = TextEditor._GetTextEditor(frameworkElement); 775typeof(TextEditor), 795typeof(TextEditor), 805typeof(TextEditor), 964return _uiScope == null ? false : (bool)_uiScope.GetValue(TextEditor.IsReadOnlyProperty); 1019return _uiScope == null ? true : (bool)_uiScope.GetValue(TextEditor.AllowOvertypeProperty); 1121internal static TextEditor _GetTextEditor(object element) 1123return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as TextEditor) : null; 1616TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1639TextEditor This = TextEditor._GetTextEditor(frameworkElement); 1670TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1722TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1759TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1802TextEditor This = TextEditor._GetTextEditor((FrameworkElement)target); 1828TextEditor This = TextEditor._GetTextEditor((FrameworkElement)target); 1854TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1874TextEditor This = TextEditor._GetTextEditor((FrameworkElement)sender); 1903public TextEditorShutDownListener(TextEditor target) 1910TextEditor editor = (TextEditor)target; 1935"Instance", typeof(TextEditor), typeof(TextEditor), //
System\windows\Documents\TextEditorCharacters.cs (35)
56internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue) 61internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs) 66internal static void _OnApplyProperty(TextEditor This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs, PropertyValueAction propertyValueAction) 119TextEditor This = TextEditor._GetTextEditor(target); 164TextEditor This = TextEditor._GetTextEditor(target); 184TextEditor This = TextEditor._GetTextEditor(target); 207TextEditor This = TextEditor._GetTextEditor(target); 236TextEditor This = TextEditor._GetTextEditor(sender); 255TextEditor This = TextEditor._GetTextEditor(sender); 283TextEditor This = TextEditor._GetTextEditor(target); 325TextEditor This = TextEditor._GetTextEditor(target); 370TextEditor This = TextEditor._GetTextEditor(target); 383TextEditor This = TextEditor._GetTextEditor(target); 396TextEditor This = TextEditor._GetTextEditor(target); 409TextEditor This = TextEditor._GetTextEditor(target); 418TextEditor This = TextEditor._GetTextEditor(target); 433TextEditor This = TextEditor._GetTextEditor(target); 442TextEditor This = TextEditor._GetTextEditor(target); 459TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorContextMenu.cs (9)
45TextEditor This = TextEditor._GetTextEditor(sender); 243TextEditor This = TextEditor._GetTextEditor(placementTarget); 258private static void GetClippedPositionOffsets(TextEditor This, ITextPointer position, LogicalDirection direction, 434internal void AddMenuItems(TextEditor textEditor) 475private bool AddSpellerItems(TextEditor textEditor) 546private bool AddReconversionItems(TextEditor textEditor) 609private bool AddClipboardItems(TextEditor textEditor)
System\windows\Documents\TextEditorCopyPaste.cs (26)
59internal static DataObject _CreateDataObject(TextEditor This, bool isDragDrop) 173internal static bool _DoPaste(TextEditor This, IDataObject dataObject, bool isDragDrop) 225internal static string GetPasteApplyFormat(TextEditor This, IDataObject dataObject) 270internal static void Cut(TextEditor This, bool userInitiated) 318internal static void Copy(TextEditor This, bool userInitiated) 352internal static void Paste(TextEditor This) 481TextEditor This = TextEditor._GetTextEditor(target); 505TextEditor This = TextEditor._GetTextEditor(target); 526TextEditor This = TextEditor._GetTextEditor(target); 551TextEditor This = TextEditor._GetTextEditor(target); 572TextEditor This = TextEditor._GetTextEditor(target); 602TextEditor This = TextEditor._GetTextEditor(target); 617TextEditor This = TextEditor._GetTextEditor(target); 639TextEditor This = TextEditor._GetTextEditor(target); 671private static bool PasteContentData(TextEditor This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply) 873private static bool PasteTextElement(TextEditor This, TextElement sectionOrSpan) 901private static bool PasteXaml(TextEditor This, string pasteXaml) 935private static bool PastePlainText(TextEditor This, string pastedText)
System\windows\Documents\TextEditorDragDrop.cs (17)
69internal _DragDropProcess(TextEditor textEditor) 366double pageHeight = (double)_textEditor.UiScope.GetValue(TextEditor.PageHeightProperty); 673private TextEditor _textEditor; 699TextEditor This = TextEditor._GetTextEditor(sender); 732TextEditor This = TextEditor._GetTextEditor(sender); 760TextEditor This = TextEditor._GetTextEditor(sender); 808TextEditor This = TextEditor._GetTextEditor(sender); 855TextEditor This = TextEditor._GetTextEditor(sender); 884TextEditor This = TextEditor._GetTextEditor(sender); 912TextEditor This = TextEditor._GetTextEditor(sender);
System\windows\Documents\TextEditorLists.cs (9)
37internal static void DecreaseIndentation(TextEditor This) 63private static TextEditor IsEnabledNotReadOnlyIsTextSegment(object sender) 65TextEditor This = TextEditor._GetTextEditor(sender); 79TextEditor This = IsEnabledNotReadOnlyIsTextSegment(sender); 94TextEditor This = TextEditor._GetTextEditor(target); 107TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorMouse.cs (19)
61internal static void SetCaretPositionOnMouseEvent(TextEditor This, Point mouseDownPoint, MouseButton changedButton, int clickCount) 121internal static bool IsPointWithinInteractiveArea(TextEditor textEditor, Point point) 146TextEditor This = TextEditor._GetTextEditor(sender); 230if (TextEditor.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseDownPoint)) 267TextEditor This = TextEditor._GetTextEditor(sender); 299TextEditor This = TextEditor._GetTextEditor(sender); 380TextEditor This = TextEditor._GetTextEditor(sender); 426private static void OnMouseMoveWithoutFocus(TextEditor This, MouseEventArgs e) 433private static void OnMouseMoveWithFocus(TextEditor This, MouseEventArgs e) 443TextEditor._ThreadLocalStore.PureControlShift = false; 590private static bool MoveFocusToUiScope(TextEditor This) 667private static void UpdateCursor(TextEditor This, Point mouseMovePoint) 675if (TextEditor.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseMovePoint)) 710private static UIElement GetUIElementWhenMouseOver(TextEditor This, Point mouseMovePoint) 754private static bool IsPointWithinRenderScope(TextEditor textEditor, Point point)
System\windows\Documents\TextEditorParagraphs.cs (14)
64TextEditor This = TextEditor._GetTextEditor(sender); 79TextEditor This = TextEditor._GetTextEditor(sender); 94TextEditor This = TextEditor._GetTextEditor(sender); 109TextEditor This = TextEditor._GetTextEditor(sender); 139TextEditor This = TextEditor._GetTextEditor(sender); 149TextEditor This = TextEditor._GetTextEditor(sender); 167TextEditor This = TextEditor._GetTextEditor(sender);
System\windows\Documents\TextEditorSelection.cs (91)
89internal static void _ClearSuggestedX(TextEditor This) 145TextEditor This = TextEditor._GetTextEditor(target); 180TextEditor This = TextEditor._GetTextEditor(target); 196TextEditor This = TextEditor._GetTextEditor(target); 212TextEditor This = TextEditor._GetTextEditor(target); 228TextEditor This = TextEditor._GetTextEditor(target); 242TextEditor This = TextEditor._GetTextEditor(sender); 334TextEditor This = TextEditor._GetTextEditor(sender); 424TextEditor This = TextEditor._GetTextEditor(sender); 479TextEditor This = TextEditor._GetTextEditor(sender); 533TextEditor This = TextEditor._GetTextEditor(sender); 574double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 653TextEditor This = TextEditor._GetTextEditor(sender); 691double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 770TextEditor This = TextEditor._GetTextEditor(target); 822TextEditor This = TextEditor._GetTextEditor(target); 874TextEditor This = TextEditor._GetTextEditor(target); 902TextEditor This = TextEditor._GetTextEditor(target); 938TextEditor This = TextEditor._GetTextEditor(target); 954TextEditor This = TextEditor._GetTextEditor(target); 969TextEditor This = TextEditor._GetTextEditor(target); 985TextEditor This = TextEditor._GetTextEditor(target); 999TextEditor This = TextEditor._GetTextEditor(sender); 1105private static void AdjustMovingPositionForSelectDownByLine(TextEditor This, ITextPointer newMovingPosition, ITextPointer originalMovingPosition, double suggestedX) 1171TextEditor This = TextEditor._GetTextEditor(sender); 1295TextEditor This = TextEditor._GetTextEditor(sender); 1336TextEditor This = TextEditor._GetTextEditor(sender); 1380TextEditor This = TextEditor._GetTextEditor(sender); 1402double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 1476TextEditor This = TextEditor._GetTextEditor(sender); 1498double pageHeight = (double)This.UiScope.GetValue(TextEditor.PageHeightProperty); 1574TextEditor This = TextEditor._GetTextEditor(target); 1619TextEditor This = TextEditor._GetTextEditor(target); 1707TextEditor This = TextEditor._GetTextEditor(target); 1735TextEditor This = TextEditor._GetTextEditor(target); 1769TextEditor This = e.UserState as TextEditor; 1799TextEditor This = e.UserState as TextEditor; 1824TextEditor This; 1831This = e.UserState as TextEditor; 1887TextEditor This; 1894This = e.UserState as TextEditor; 1954TextEditor This = TextEditor._GetTextEditor(target); 1969TextEditor This = TextEditor._GetTextEditor(target); 2005private static void ClearSpringloadFormatting(TextEditor This) 2016private static bool IsFlowDirectionRightToLeftThenTopToBottom(TextEditor textEditor) 2036private static void MoveToCharacterLogicalDirection(TextEditor textEditor, LogicalDirection direction, bool extend) 2097private static void NavigateWordLogicalDirection(TextEditor textEditor, LogicalDirection direction) 2172private static void ExtendWordLogicalDirection(TextEditor textEditor, LogicalDirection direction) 2218private static Double GetSuggestedX(TextEditor This, out ITextPointer innerMovingPosition) 2266private static Double GetSuggestedYFromPosition(TextEditor This, ITextPointer position) 2282private static void UpdateSuggestedXOnColumnOrPageBoundary(TextEditor This, double newSuggestedX) 2300private static ITextPointer GetMovingPositionInner(TextEditor This) 2330private static ITextPointer GetStartInner(TextEditor This) 2342private static ITextPointer GetEndInner(TextEditor This) 2369private static void ExtendSelectionAndBringIntoView(ITextPointer position, TextEditor textEditor) 2375private static void BringIntoView(ITextPointer position, TextEditor textEditor) 2377double pageHeight = (double)textEditor.UiScope.GetValue(TextEditor.PageHeightProperty); 2391private static void AdjustCaretAtTableRowEnd(TextEditor This)
System\windows\Documents\TextEditorSpelling.cs (9)
35internal static SpellingError GetSpellingErrorAtPosition(TextEditor This, ITextPointer position, LogicalDirection direction) 41internal static SpellingError GetSpellingErrorAtSelection(TextEditor This) 100internal static ITextPointer GetNextSpellingErrorPosition(TextEditor This, ITextPointer position, LogicalDirection direction) 121TextEditor This = TextEditor._GetTextEditor(target); 223TextEditor This = TextEditor._GetTextEditor(target); 240TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorTables.cs (4)
53TextEditor This = TextEditor._GetTextEditor(target); 109TextEditor This = TextEditor._GetTextEditor(target);
System\windows\Documents\TextEditorTyping.cs (73)
87internal static void _AddInputLanguageChangedEventHandler(TextEditor This) 95threadLocalStore = TextEditor._ThreadLocalStore; 114internal static void _RemoveInputLanguageChangedEventHandler(TextEditor This) 118threadLocalStore = TextEditor._ThreadLocalStore; 138internal static void _BreakTypingSequence(TextEditor This) 145internal static void _FlushPendingInputItems(TextEditor This) 151threadLocalStore = TextEditor._ThreadLocalStore; 184if (TextEditor._ThreadLocalStore.HideCursor) 186TextEditor._ThreadLocalStore.HideCursor = false; 247TextEditor This = richTextBox.TextEditor; 279TextEditor This = TextEditor._GetTextEditor(sender); 295TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 325TextEditor This = TextEditor._GetTextEditor(sender); 337if (TextEditor._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0) 354TextEditor This = TextEditor._GetTextEditor(sender); 420TextEditor This = TextEditor._GetTextEditor(target); 444TextEditor This = TextEditor._GetTextEditor(target); 459TextEditor This = TextEditor._GetTextEditor(target); 513TextEditor This = TextEditor._GetTextEditor(sender); 566TextEditor This = TextEditor._GetTextEditor(sender); 720private static bool HandleDeleteWhenStructuralBoundaryIsCrossed(TextEditor This, TextPointer position, TextPointer deletePosition) 881TextEditor This = TextEditor._GetTextEditor(sender); 939TextEditor This = TextEditor._GetTextEditor(sender); 1014TextEditor This = TextEditor._GetTextEditor(sender); 1034TextEditor This = TextEditor._GetTextEditor(sender); 1080private static bool HandleEnterBreakForRichText(TextEditor This, ICommand command) 1129private static bool HandleEnterBreakForPlainText(TextEditor This) 1151private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(TextEditor This, ICommand command) 1204private static void OnFlowDirectionCommand(TextEditor This, Key key) 1255TextEditor This = TextEditor._GetTextEditor(sender); 1292TextEditor This = TextEditor._GetTextEditor(sender); 1308TextEditor This = TextEditor._GetTextEditor(sender); 1322TextEditor This = TextEditor._GetTextEditor(sender); 1353TextEditor This = TextEditor._GetTextEditor(sender); 1384private static bool HandleTabInTables(TextEditor This, LogicalDirection direction) 1505private static void DoTextInput(TextEditor This, string textData, bool isInsertKeyToggled, bool acceptControlCharacters) 1569private static void ScheduleInput(TextEditor This, InputItem item) 1581threadLocalStore = TextEditor._ThreadLocalStore; 1597private static bool IsMouseInputPending(TextEditor This) 1619TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1621Invariant.Assert(This is TextEditor); 1626TextEditorTyping._FlushPendingInputItems((TextEditor)This); 1648TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1666internal InputItem(TextEditor textEditor) 1675private TextEditor _textEditor; 1677protected TextEditor TextEditor 1690internal TextInputItem(TextEditor textEditor, string text, bool isInsertKeyToggled) 1718internal KeyUpInputItem(TextEditor textEditor, Key key, ModifierKeys modifiers) 1777private static void OpenTypingUndoUnit(TextEditor This) 1802private static void CloseTypingUndoUnit(TextEditor This, UndoCloseAction closeAction) 1828TextEditor This = TextEditor._GetTextEditor(target); 1858private static void HideCursor(TextEditor This) 1860if (!TextEditor._ThreadLocalStore.HideCursor && 1864TextEditor._ThreadLocalStore.HideCursor = true; 1871private static void UpdateHyperlinkCursor(TextEditor This)
System\windows\Documents\TextSelection.cs (14)
38internal TextSelection(TextEditor textEditor) 1193TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1600internal static Brush GetCaretBrush(TextEditor textEditor) 1760TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 1770if (TextEditor._ThreadLocalStore.FocusedTextSelection == this) 1772TextEditor._ThreadLocalStore.FocusedTextSelection = null; 2017private static void RefreshCaret(TextEditor textEditor, ITextSelection textSelection) 2061TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 2343private static double CalculateScrollToOriginPosition(TextEditor textEditor, ITextPointer caretPosition, double horizontalCaretPosition) 2401TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 2416TextEditor._ThreadLocalStore.Bidi = true; 2420TextEditor._ThreadLocalStore.Bidi = false; 2605TextEditor ITextSelection.TextEditor 2704private TextEditor _textEditor;
System\Windows\Documents\TextServicesHost.cs (2)
185TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore; 382TextEditorThreadLocalStore threadLocalStore = TextEditor._ThreadLocalStore;
System\Windows\Documents\TextStore.cs (7)
49internal TextStore(TextEditor textEditor) 2037internal static FrameworkTextComposition CreateComposition(TextEditor editor, object owner) 2308TextEditor textEditor = this.TextEditor; 4120private TextEditor TextEditor 4134return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.IsReadOnly); 4226internal TextEditor TextEditor 4232return (TextEditor)this.Target;