2 writes to _textEditor
PresentationFramework (2)
System\windows\Documents\TextSelection.cs (2)
47_textEditor = textEditor; 732_textEditor = null;
23 references to _textEditor
PresentationFramework (23)
System\windows\Documents\TextSelection.cs (23)
149if (!this.IsEmpty && _textEditor.AcceptsRichContent) 341_textEditor.IsContextMenuOpen))// or UiScope has a context menu open 771RefreshCaret(_textEditor, _textEditor.Selection); 905bool disableWordExpansion = _textEditor.AutoWordSelection == false || ((Keyboard.Modifiers & ModifierKeys.Shift) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0); 1600if (_textEditor.TextView != null && _textEditor.TextView.IsValid) 1957if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2072if (_textEditor == null) 2105if (_textEditor.TextView == null || !_textEditor.TextView.IsValid) 2125bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible); 2135italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2146Brush caretBrush = GetCaretBrush(_textEditor); 2149double scrollToOriginPosition = CalculateScrollToOriginPosition(_textEditor, caretPosition, caretRectangle.X); 2422_caretElement = new CaretElement(_textEditor, isBlinkEnabled); 2459while (element != _textEditor.UiScope && element != null) 2623return _textEditor; 2631return _textEditor.TextView; 2647return _textEditor.TextStore; 2655return _textEditor.ImmComposition; 2664return _textEditor.UiScope;