1 write to _textEditor
PresentationFramework (1)
System\windows\Documents\TextEditorDragDrop.cs (1)
90_textEditor = textEditor;
41 references to _textEditor
PresentationFramework (41)
System\windows\Documents\TextEditorDragDrop.cs (41)
109ITextSelection selection = _textEditor.Selection; 111if (_textEditor.UiScope is PasswordBox) 143Point mouseDownPoint = e.GetPosition(_textEditor.TextView.RenderScope); 147_textEditor.Selection.SetSelectionByMouse(cursorPosition, mouseDownPoint); 170ITextSelection selection = _textEditor.Selection; 188IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(_textEditor, /*isDragDrop:*/true); 201_textEditor.UiScope.ReleaseMouseCapture(); 230if (!_textEditor.IsReadOnly) 240_textEditor.UiScope, // dragSource, 253if (!_textEditor.IsReadOnly && // 280if (!_textEditor.IsReadOnly) 283_textEditor.UiScope, TextBox.TextProperty); 301_caretDragDrop = new CaretElement(_textEditor, /*isBlinkEnabled:*/false); 358if (!_textEditor.TextView.Validate(e.GetPosition(_textEditor.TextView.RenderScope))) 364FrameworkElement scroller = _textEditor._Scroller; 384double pageHeight = (double)_textEditor.UiScope.GetValue(TextEditor.PageHeightProperty); 418_textEditor.TextView.RenderScope.UpdateLayout(); // REVIEW:benwest:6/27/2006: This should use TextView.Validate, and check the return value instead of using IsValid below. 420if (_textEditor.TextView.IsValid) 422ITextPointer dragPosition = GetDropPosition(_textEditor.TextView.RenderScope as Visual, e.GetPosition(_textEditor.TextView.RenderScope)); 431bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 432Brush caretBrush = TextSelection.GetCaretBrush(_textEditor); 456Invariant.Assert(_textEditor.TextView.IsValid); // caller must guarantee this. 459if (target != _textEditor.TextView.RenderScope && target != null && (_textEditor.TextView.RenderScope).IsAncestorOf(target)) 461GeneralTransform transform = target.TransformToAncestor(_textEditor.TextView.RenderScope); 473if (_textEditor.AcceptsRichContent) 525ITextSelection selection = _textEditor.Selection; 545if (!_textEditor.TextView.Validate(e.GetPosition(_textEditor.TextView.RenderScope))) 552ITextPointer dropPosition = GetDropPosition(_textEditor.TextView.RenderScope as Visual, e.GetPosition(_textEditor.TextView.RenderScope)); 596e.Handled = TextEditorCopyPaste._DoPaste(_textEditor, e.Data, /*isDragDrop:*/true); 607_textEditor.UiScope.Focus(); 645if (!_textEditor.IsReadOnly && _textEditor.TextView != null && _textEditor.TextView.RenderScope != null) 647Window window = Window.GetWindow(_textEditor.TextView.RenderScope); 671source = PresentationSource.CriticalFromVisual(_textEditor.UiScope); 687return _textEditor.TextView;