1 write to _textEditor
PresentationFramework (1)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
93
_textEditor
= textEditor;
41 references to _textEditor
PresentationFramework (41)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (41)
112
ITextSelection selection =
_textEditor
.Selection;
114
if (
_textEditor
.UiScope is PasswordBox)
146
Point mouseDownPoint = e.GetPosition(
_textEditor
.TextView.RenderScope);
150
_textEditor
.Selection.SetSelectionByMouse(cursorPosition, mouseDownPoint);
181
ITextSelection selection =
_textEditor
.Selection;
199
IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(
_textEditor
, /*isDragDrop:*/true);
212
_textEditor
.UiScope.ReleaseMouseCapture();
241
if (!
_textEditor
.IsReadOnly)
251
_textEditor
.UiScope, // dragSource,
265
if (!
_textEditor
.IsReadOnly && //
292
if (!
_textEditor
.IsReadOnly)
295
_textEditor
.UiScope, TextBox.TextProperty);
313
_caretDragDrop = new CaretElement(
_textEditor
, /*isBlinkEnabled:*/false);
370
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
376
FrameworkElement scroller =
_textEditor
._Scroller;
396
double pageHeight = (double)
_textEditor
.UiScope.GetValue(TextEditor.PageHeightProperty);
430
_textEditor
.TextView.RenderScope.UpdateLayout(); // REVIEW:benwest:6/27/2006: This should use TextView.Validate, and check the return value instead of using IsValid below.
432
if (
_textEditor
.TextView.IsValid)
434
ITextPointer dragPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
443
bool italic = (
_textEditor
.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
444
Brush caretBrush = TextSelection.GetCaretBrush(
_textEditor
);
468
Invariant.Assert(
_textEditor
.TextView.IsValid); // caller must guarantee this.
471
if (target !=
_textEditor
.TextView.RenderScope && target != null && (
_textEditor
.TextView.RenderScope).IsAncestorOf(target))
473
GeneralTransform transform = target.TransformToAncestor(
_textEditor
.TextView.RenderScope);
485
if (
_textEditor
.AcceptsRichContent)
537
ITextSelection selection =
_textEditor
.Selection;
557
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
564
ITextPointer dropPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
608
e.Handled = TextEditorCopyPaste._DoPaste(
_textEditor
, e.Data, /*isDragDrop:*/true);
619
_textEditor
.UiScope.Focus();
657
if (!
_textEditor
.IsReadOnly &&
_textEditor
.TextView != null &&
_textEditor
.TextView.RenderScope != null)
659
Window window = Window.GetWindow(
_textEditor
.TextView.RenderScope);
690
source = PresentationSource.CriticalFromVisual(
_textEditor
.UiScope);
715
return
_textEditor
.TextView;