2 writes to _textEditor
PresentationFramework (2)
System\Windows\Documents\Speller.cs (2)
44
_textEditor
= textEditor;
101
_textEditor
= null;
27 references to _textEditor
PresentationFramework (27)
System\Windows\Documents\Speller.cs (27)
46
_textEditor
.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
49
if (
_textEditor
.TextContainer.SymbolCount > 0)
71
Invariant.Assert(
_textEditor
!= null);
73
_textEditor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
77
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
78
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
85
_textEditor
.TextContainer.Highlights.RemoveLayer(_highlightLayer);
246
StaticTextPointer pointer =
_textEditor
.TextContainer.CreateStaticPointerAtOffset(0);
310
_statusTable.MarkDirtyRange(
_textEditor
.TextContainer.Start,
_textEditor
.TextContainer.End);
312
if (
_textEditor
.TextContainer.SymbolCount > 0)
477
_statusTable = new SpellerStatusTable(
_textEditor
.TextContainer.Start, _highlightLayer);
479
_textEditor
.TextContainer.Highlights.AddLayer(_highlightLayer);
481
_spellingReform = (SpellingReform)
_textEditor
.UiScope.GetValue(SpellCheck.SpellingReformProperty);
505
_textEditor
.Selection.Changed += new EventHandler(OnCaretMoved);
506
_textEditor
.UiScope.LostFocus += new RoutedEventHandler(OnLostFocus);
516
Invariant.Assert(sender ==
_textEditor
.TextContainer);
556
if (
_textEditor
!= null &&
611
if (!_pendingCaretMovedCallback ||
_textEditor
== null)
619
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
620
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
644
searchStart =
_textEditor
.TextContainer.Start;
696
if (!
_textEditor
.Selection.IsEmpty)
702
if (!
_textEditor
.UiScope.IsKeyboardFocused)
716
caretPosition =
_textEditor
.Selection.Start;
1530
if (!
_textEditor
.AcceptsRichContent &&
1531
_textEditor
.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)