2 writes to _textEditor
PresentationFramework (2)
System\Windows\Documents\Speller.cs (2)
39_textEditor = textEditor; 94_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); 225StaticTextPointer pointer = _textEditor.TextContainer.CreateStaticPointerAtOffset(0); 289_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 291if (_textEditor.TextContainer.SymbolCount > 0) 456_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 458_textEditor.TextContainer.Highlights.AddLayer(_highlightLayer); 460_spellingReform = (SpellingReform)_textEditor.UiScope.GetValue(SpellCheck.SpellingReformProperty); 484_textEditor.Selection.Changed += new EventHandler(OnCaretMoved); 485_textEditor.UiScope.LostFocus += new RoutedEventHandler(OnLostFocus); 495Invariant.Assert(sender == _textEditor.TextContainer); 532if (_textEditor != null && 587if (!_pendingCaretMovedCallback || _textEditor == null) 595_textEditor.Selection.Changed -= new EventHandler(OnCaretMoved); 596_textEditor.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus); 620searchStart = _textEditor.TextContainer.Start; 672if (!_textEditor.Selection.IsEmpty) 678if (!_textEditor.UiScope.IsKeyboardFocused) 692caretPosition = _textEditor.Selection.Start; 1494if (!_textEditor.AcceptsRichContent && 1495_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)