2 writes to _textEditor
PresentationFramework (2)
src\Framework\System\windows\Documents\TextSelection.cs (2)
53_textEditor = textEditor; 738_textEditor = null;
23 references to _textEditor
PresentationFramework (23)
src\Framework\System\windows\Documents\TextSelection.cs (23)
155if (!this.IsEmpty && _textEditor.AcceptsRichContent) 347_textEditor.IsContextMenuOpen))// or UiScope has a context menu open 777RefreshCaret(_textEditor, _textEditor.Selection); 911bool disableWordExpansion = _textEditor.AutoWordSelection == false || ((Keyboard.Modifiers & ModifierKeys.Shift) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0); 1606if (_textEditor.TextView != null && _textEditor.TextView.IsValid) 1968if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2083if (_textEditor == null) 2116if (_textEditor.TextView == null || !_textEditor.TextView.IsValid) 2136bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible); 2146italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 2157Brush caretBrush = GetCaretBrush(_textEditor); 2160double scrollToOriginPosition = CalculateScrollToOriginPosition(_textEditor, caretPosition, caretRectangle.X); 2433_caretElement = new CaretElement(_textEditor, isBlinkEnabled); 2470while (element != _textEditor.UiScope && element != null) 2639return _textEditor; 2647return _textEditor.TextView; 2663return _textEditor.TextStore; 2671return _textEditor.ImmComposition; 2680return _textEditor.UiScope;