2 writes to _textEditor
PresentationFramework (2)
System\Windows\Documents\Speller.cs (2)
40_textEditor = textEditor; 98_textEditor = null;
27 references to _textEditor
PresentationFramework (27)
System\Windows\Documents\Speller.cs (27)
42_textEditor.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 45if (_textEditor.TextContainer.SymbolCount > 0) 68Invariant.Assert(_textEditor != null); 70_textEditor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 74_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 75_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 82_textEditor.TextContainer.Highlights.RemoveLayer(_highlightLayer); 229StaticTextPointer pointer = _textEditor.TextContainer.CreateStaticPointerAtOffset(0); 293_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 295if (_textEditor.TextContainer.SymbolCount > 0) 460_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 462_textEditor.TextContainer.Highlights.AddLayer(_highlightLayer); 464_spellingReform = (SpellingReform)_textEditor.UiScope.GetValue(SpellCheck.SpellingReformProperty); 488_textEditor.Selection.Changed += new EventHandler(OnCaretMoved); 489_textEditor.UiScope.LostFocus += new RoutedEventHandler(OnLostFocus); 499Invariant.Assert(sender == _textEditor.TextContainer); 539if (_textEditor != null && 594if (!_pendingCaretMovedCallback || _textEditor == null) 602_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 603_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 627searchStart = _textEditor.TextContainer.Start; 679if (!_textEditor.Selection.IsEmpty) 685if (!_textEditor.UiScope.IsKeyboardFocused) 699caretPosition = _textEditor.Selection.Start; 1501if (!_textEditor.AcceptsRichContent && 1502_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)