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);
536
if (
_textEditor
!= null &&
591
if (!_pendingCaretMovedCallback ||
_textEditor
== null)
599
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
600
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
624
searchStart =
_textEditor
.TextContainer.Start;
676
if (!
_textEditor
.Selection.IsEmpty)
682
if (!
_textEditor
.UiScope.IsKeyboardFocused)
696
caretPosition =
_textEditor
.Selection.Start;
1498
if (!
_textEditor
.AcceptsRichContent &&
1499
_textEditor
.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)