2 writes to _textEditor
PresentationFramework (2)
System\windows\Documents\TextSelection.cs (2)
50_textEditor = textEditor; 735_textEditor = null;
23 references to _textEditor
PresentationFramework (23)
System\windows\Documents\TextSelection.cs (23)
152if (!this.IsEmpty && _textEditor.AcceptsRichContent) 344_textEditor.IsContextMenuOpen))// or UiScope has a context menu open 774RefreshCaret(_textEditor, _textEditor.Selection); 908bool disableWordExpansion = _textEditor.AutoWordSelection == false || ((Keyboard.Modifiers & ModifierKeys.Shift) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0); 1603if (_textEditor.TextView != null && _textEditor.TextView.IsValid) 1960if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2075if (_textEditor == null) 2108if (_textEditor.TextView == null || !_textEditor.TextView.IsValid) 2128bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible); 2138italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2149Brush caretBrush = GetCaretBrush(_textEditor); 2152double scrollToOriginPosition = CalculateScrollToOriginPosition(_textEditor, caretPosition, caretRectangle.X); 2425_caretElement = new CaretElement(_textEditor, isBlinkEnabled); 2462while (element != _textEditor.UiScope && element != null) 2626return _textEditor; 2634return _textEditor.TextView; 2650return _textEditor.TextStore; 2658return _textEditor.ImmComposition; 2667return _textEditor.UiScope;