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);
44
if (
_textEditor
.TextContainer.SymbolCount > 0)
67
Invariant.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);
225
StaticTextPointer pointer =
_textEditor
.TextContainer.CreateStaticPointerAtOffset(0);
289
_statusTable.MarkDirtyRange(
_textEditor
.TextContainer.Start,
_textEditor
.TextContainer.End);
291
if (
_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);
495
Invariant.Assert(sender ==
_textEditor
.TextContainer);
532
if (
_textEditor
!= null &&
587
if (!_pendingCaretMovedCallback ||
_textEditor
== null)
595
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
596
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
620
searchStart =
_textEditor
.TextContainer.Start;
672
if (!
_textEditor
.Selection.IsEmpty)
678
if (!
_textEditor
.UiScope.IsKeyboardFocused)
692
caretPosition =
_textEditor
.Selection.Start;
1494
if (!
_textEditor
.AcceptsRichContent &&
1495
_textEditor
.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)