2 writes to _textEditor
PresentationFramework (2)
src\Framework\System\Windows\Documents\Speller.cs (2)
45
_textEditor
= textEditor;
107
_textEditor
= null;
27 references to _textEditor
PresentationFramework (27)
src\Framework\System\Windows\Documents\Speller.cs (27)
47
_textEditor
.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
50
if (
_textEditor
.TextContainer.SymbolCount > 0)
77
Invariant.Assert(
_textEditor
!= null);
79
_textEditor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
83
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
84
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
91
_textEditor
.TextContainer.Highlights.RemoveLayer(_highlightLayer);
257
StaticTextPointer pointer =
_textEditor
.TextContainer.CreateStaticPointerAtOffset(0);
321
_statusTable.MarkDirtyRange(
_textEditor
.TextContainer.Start,
_textEditor
.TextContainer.End);
323
if (
_textEditor
.TextContainer.SymbolCount > 0)
526
_statusTable = new SpellerStatusTable(
_textEditor
.TextContainer.Start, _highlightLayer);
528
_textEditor
.TextContainer.Highlights.AddLayer(_highlightLayer);
530
_spellingReform = (SpellingReform)
_textEditor
.UiScope.GetValue(SpellCheck.SpellingReformProperty);
554
_textEditor
.Selection.Changed += new EventHandler(OnCaretMoved);
555
_textEditor
.UiScope.LostFocus += new RoutedEventHandler(OnLostFocus);
565
Invariant.Assert(sender ==
_textEditor
.TextContainer);
605
if (
_textEditor
!= null &&
660
if (!_pendingCaretMovedCallback ||
_textEditor
== null)
668
_textEditor
.Selection.Changed -= new EventHandler(OnCaretMoved);
669
_textEditor
.UiScope.LostFocus -= new RoutedEventHandler(OnLostFocus);
693
searchStart =
_textEditor
.TextContainer.Start;
750
if (!
_textEditor
.Selection.IsEmpty)
756
if (!
_textEditor
.UiScope.IsKeyboardFocused)
770
caretPosition =
_textEditor
.Selection.Start;
1600
if (!
_textEditor
.AcceptsRichContent &&
1601
_textEditor
.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default)