2 writes to _textEditor
PresentationFramework (2)
System\windows\Documents\TextSelection.cs (2)
47_textEditor = textEditor; 720_textEditor = null;
23 references to _textEditor
PresentationFramework (23)
System\windows\Documents\TextSelection.cs (23)
149if (!this.IsEmpty && _textEditor.AcceptsRichContent) 329_textEditor.IsContextMenuOpen))// or UiScope has a context menu open 756RefreshCaret(_textEditor, _textEditor.Selection); 890bool disableWordExpansion = _textEditor.AutoWordSelection == false || ((Keyboard.Modifiers & ModifierKeys.Shift) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0); 1585if (_textEditor.TextView != null && _textEditor.TextView.IsValid) 1942if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2057if (_textEditor == null) 2090if (_textEditor.TextView == null || !_textEditor.TextView.IsValid) 2110bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible); 2120italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2131Brush caretBrush = GetCaretBrush(_textEditor); 2134double scrollToOriginPosition = CalculateScrollToOriginPosition(_textEditor, caretPosition, caretRectangle.X); 2407_caretElement = new CaretElement(_textEditor, isBlinkEnabled) 2446while (element != _textEditor.UiScope && element != null) 2610return _textEditor; 2618return _textEditor.TextView; 2634return _textEditor.TextStore; 2642return _textEditor.ImmComposition; 2651return _textEditor.UiScope;