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);
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);
228
StaticTextPointer pointer =
_textEditor
.TextContainer.CreateStaticPointerAtOffset(0);
292
_statusTable.MarkDirtyRange(
_textEditor
.TextContainer.Start,
_textEditor
.TextContainer.End);
294
if (
_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);
498
Invariant.Assert(sender ==
_textEditor
.TextContainer);
535
if (
_textEditor
!= null &&
590
if (!_pendingCaretMovedCallback ||
_textEditor
== null)
598
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
599
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
623
searchStart =
_textEditor
.TextContainer.Start;
675
if (!
_textEditor
.Selection.IsEmpty)
681
if (!
_textEditor
.UiScope.IsKeyboardFocused)
695
caretPosition =
_textEditor
.Selection.Start;
1497
if (!
_textEditor
.AcceptsRichContent &&
1498
_textEditor
.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)