2 writes to _textEditor
PresentationFramework (2)
src\Framework\System\windows\Documents\TextSelection.cs (2)
53
_textEditor
= textEditor;
738
_textEditor
= null;
23 references to _textEditor
PresentationFramework (23)
src\Framework\System\windows\Documents\TextSelection.cs (23)
155
if (!this.IsEmpty &&
_textEditor
.AcceptsRichContent)
347
_textEditor
.IsContextMenuOpen))// or UiScope has a context menu open
777
RefreshCaret(
_textEditor
,
_textEditor
.Selection);
911
bool disableWordExpansion =
_textEditor
.AutoWordSelection == false || ((Keyboard.Modifiers & ModifierKeys.Shift) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0);
1606
if (
_textEditor
.TextView != null &&
_textEditor
.TextView.IsValid)
1968
if (!
_textEditor
.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect))
2083
if (
_textEditor
== null)
2116
if (
_textEditor
.TextView == null || !
_textEditor
.TextView.IsValid)
2136
bool caretVisible = this.IsEmpty && (!
_textEditor
.IsReadOnly ||
_textEditor
.IsReadOnlyCaretVisible);
2146
italic = (
_textEditor
.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
2157
Brush caretBrush = GetCaretBrush(
_textEditor
);
2160
double scrollToOriginPosition = CalculateScrollToOriginPosition(
_textEditor
, caretPosition, caretRectangle.X);
2433
_caretElement = new CaretElement(
_textEditor
, isBlinkEnabled);
2470
while (element !=
_textEditor
.UiScope && element != null)
2639
return
_textEditor
;
2647
return
_textEditor
.TextView;
2663
return
_textEditor
.TextStore;
2671
return
_textEditor
.ImmComposition;
2680
return
_textEditor
.UiScope;