2 writes to _textEditor
PresentationFramework (2)
System\windows\Documents\TextSelection.cs (2)
46
_textEditor
= textEditor;
719
_textEditor
= null;
23 references to _textEditor
PresentationFramework (23)
System\windows\Documents\TextSelection.cs (23)
148
if (!this.IsEmpty &&
_textEditor
.AcceptsRichContent)
328
_textEditor
.IsContextMenuOpen))// or UiScope has a context menu open
755
RefreshCaret(
_textEditor
,
_textEditor
.Selection);
889
bool disableWordExpansion = !
_textEditor
.AutoWordSelection || ((Keyboard.Modifiers & ModifierKeys.Shift) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0);
1584
if (
_textEditor
.TextView != null &&
_textEditor
.TextView.IsValid)
1941
if (!
_textEditor
.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect))
2056
if (
_textEditor
== null)
2089
if (
_textEditor
.TextView == null || !
_textEditor
.TextView.IsValid)
2109
bool caretVisible = this.IsEmpty && (!
_textEditor
.IsReadOnly ||
_textEditor
.IsReadOnlyCaretVisible);
2119
italic = (
_textEditor
.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
2130
Brush caretBrush = GetCaretBrush(
_textEditor
);
2133
double scrollToOriginPosition = CalculateScrollToOriginPosition(
_textEditor
, caretPosition, caretRectangle.X);
2406
_caretElement = new CaretElement(
_textEditor
, isBlinkEnabled)
2445
while (element !=
_textEditor
.UiScope && element != null)
2609
return
_textEditor
;
2617
return
_textEditor
.TextView;
2633
return
_textEditor
.TextStore;
2641
return
_textEditor
.ImmComposition;
2650
return
_textEditor
.UiScope;