2 writes to _textEditor
PresentationFramework (2)
System\windows\Documents\TextSelection.cs (2)
46_textEditor = textEditor; 719_textEditor = null;
23 references to _textEditor
PresentationFramework (23)
System\windows\Documents\TextSelection.cs (23)
148if (!this.IsEmpty && _textEditor.AcceptsRichContent) 328_textEditor.IsContextMenuOpen))// or UiScope has a context menu open 755RefreshCaret(_textEditor, _textEditor.Selection); 889bool disableWordExpansion = !_textEditor.AutoWordSelection || ((Keyboard.Modifiers & ModifierKeys.Shift) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0); 1584if (_textEditor.TextView != null && _textEditor.TextView.IsValid) 1941if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2056if (_textEditor == null) 2089if (_textEditor.TextView == null || !_textEditor.TextView.IsValid) 2109bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible); 2119italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2130Brush caretBrush = GetCaretBrush(_textEditor); 2133double scrollToOriginPosition = CalculateScrollToOriginPosition(_textEditor, caretPosition, caretRectangle.X); 2406_caretElement = new CaretElement(_textEditor, isBlinkEnabled) 2445while (element != _textEditor.UiScope && element != null) 2609return _textEditor; 2617return _textEditor.TextView; 2633return _textEditor.TextStore; 2641return _textEditor.ImmComposition; 2650return _textEditor.UiScope;