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);
45
if (
_textEditor
.TextContainer.SymbolCount > 0)
68
Invariant.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);
229
StaticTextPointer pointer =
_textEditor
.TextContainer.CreateStaticPointerAtOffset(0);
293
_statusTable.MarkDirtyRange(
_textEditor
.TextContainer.Start,
_textEditor
.TextContainer.End);
295
if (
_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);
499
Invariant.Assert(sender ==
_textEditor
.TextContainer);
539
if (
_textEditor
!= null &&
594
if (!_pendingCaretMovedCallback ||
_textEditor
== null)
602
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
603
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
627
searchStart =
_textEditor
.TextContainer.Start;
679
if (!
_textEditor
.Selection.IsEmpty)
685
if (!
_textEditor
.UiScope.IsKeyboardFocused)
699
caretPosition =
_textEditor
.Selection.Start;
1501
if (!
_textEditor
.AcceptsRichContent &&
1502
_textEditor
.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)