2 writes to _textEditor
PresentationFramework (2)
System\Windows\Documents\Speller.cs (2)
39_textEditor = textEditor; 97_textEditor = null;
27 references to _textEditor
PresentationFramework (27)
System\Windows\Documents\Speller.cs (27)
41_textEditor.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 44if (_textEditor.TextContainer.SymbolCount > 0) 67Invariant.Assert(_textEditor != null); 69_textEditor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 73_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 74_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 81_textEditor.TextContainer.Highlights.RemoveLayer(_highlightLayer); 228StaticTextPointer pointer = _textEditor.TextContainer.CreateStaticPointerAtOffset(0); 292_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 294if (_textEditor.TextContainer.SymbolCount > 0) 459_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 461_textEditor.TextContainer.Highlights.AddLayer(_highlightLayer); 463_spellingReform = (SpellingReform)_textEditor.UiScope.GetValue(SpellCheck.SpellingReformProperty); 487_textEditor.Selection.Changed += new EventHandler(OnCaretMoved); 488_textEditor.UiScope.LostFocus += new RoutedEventHandler(OnLostFocus); 498Invariant.Assert(sender == _textEditor.TextContainer); 535if (_textEditor != null && 590if (!_pendingCaretMovedCallback || _textEditor == null) 598_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 599_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 623searchStart = _textEditor.TextContainer.Start; 675if (!_textEditor.Selection.IsEmpty) 681if (!_textEditor.UiScope.IsKeyboardFocused) 695caretPosition = _textEditor.Selection.Start; 1497if (!_textEditor.AcceptsRichContent && 1498_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)