2 writes to _textEditor
PresentationFramework (2)
System\Windows\Documents\Speller.cs (2)
44_textEditor = textEditor; 101_textEditor = null;
27 references to _textEditor
PresentationFramework (27)
System\Windows\Documents\Speller.cs (27)
46_textEditor.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 49if (_textEditor.TextContainer.SymbolCount > 0) 71Invariant.Assert(_textEditor != null); 73_textEditor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 77_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 78_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 85_textEditor.TextContainer.Highlights.RemoveLayer(_highlightLayer); 246StaticTextPointer pointer = _textEditor.TextContainer.CreateStaticPointerAtOffset(0); 310_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 312if (_textEditor.TextContainer.SymbolCount > 0) 477_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 479_textEditor.TextContainer.Highlights.AddLayer(_highlightLayer); 481_spellingReform = (SpellingReform)_textEditor.UiScope.GetValue(SpellCheck.SpellingReformProperty); 505_textEditor.Selection.Changed += new EventHandler(OnCaretMoved); 506_textEditor.UiScope.LostFocus += new RoutedEventHandler(OnLostFocus); 516Invariant.Assert(sender == _textEditor.TextContainer); 556if (_textEditor != null && 611if (!_pendingCaretMovedCallback || _textEditor == null) 619_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 620_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 644searchStart = _textEditor.TextContainer.Start; 696if (!_textEditor.Selection.IsEmpty) 702if (!_textEditor.UiScope.IsKeyboardFocused) 716caretPosition = _textEditor.Selection.Start; 1530if (!_textEditor.AcceptsRichContent && 1531_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)