2 writes to _textEditor
PresentationFramework (2)
src\Framework\System\Windows\Documents\Speller.cs (2)
45_textEditor = textEditor; 107_textEditor = null;
27 references to _textEditor
PresentationFramework (27)
src\Framework\System\Windows\Documents\Speller.cs (27)
47_textEditor.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 50if (_textEditor.TextContainer.SymbolCount > 0) 77Invariant.Assert(_textEditor != null); 79_textEditor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 83_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 84_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 91_textEditor.TextContainer.Highlights.RemoveLayer(_highlightLayer); 257StaticTextPointer pointer = _textEditor.TextContainer.CreateStaticPointerAtOffset(0); 321_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 323if (_textEditor.TextContainer.SymbolCount > 0) 526_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 528_textEditor.TextContainer.Highlights.AddLayer(_highlightLayer); 530_spellingReform = (SpellingReform)_textEditor.UiScope.GetValue(SpellCheck.SpellingReformProperty); 554_textEditor.Selection.Changed += new EventHandler(OnCaretMoved); 555_textEditor.UiScope.LostFocus += new RoutedEventHandler(OnLostFocus); 565Invariant.Assert(sender == _textEditor.TextContainer); 605if (_textEditor != null && 660if (!_pendingCaretMovedCallback || _textEditor == null) 668_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 669_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 693searchStart = _textEditor.TextContainer.Start; 750if (!_textEditor.Selection.IsEmpty) 756if (!_textEditor.UiScope.IsKeyboardFocused) 770caretPosition = _textEditor.Selection.Start; 1600if (!_textEditor.AcceptsRichContent && 1601_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)