1 write to _textEditor
PresentationFramework (1)
System\windows\Documents\TextEditorDragDrop.cs (1)
72_textEditor = textEditor;
41 references to _textEditor
PresentationFramework (41)
System\windows\Documents\TextEditorDragDrop.cs (41)
91ITextSelection selection = _textEditor.Selection; 93if (_textEditor.UiScope is PasswordBox) 125Point mouseDownPoint = e.GetPosition(_textEditor.TextView.RenderScope); 129_textEditor.Selection.SetSelectionByMouse(cursorPosition, mouseDownPoint); 152ITextSelection selection = _textEditor.Selection; 170IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(_textEditor, /*isDragDrop:*/true); 183_textEditor.UiScope.ReleaseMouseCapture(); 212if (!_textEditor.IsReadOnly) 222_textEditor.UiScope, // dragSource, 235if (!_textEditor.IsReadOnly && // 262if (!_textEditor.IsReadOnly) 265_textEditor.UiScope, TextBox.TextProperty); 283_caretDragDrop = new CaretElement(_textEditor, /*isBlinkEnabled:*/false); 340if (!_textEditor.TextView.Validate(e.GetPosition(_textEditor.TextView.RenderScope))) 346FrameworkElement scroller = _textEditor._Scroller; 366double pageHeight = (double)_textEditor.UiScope.GetValue(TextEditor.PageHeightProperty); 400_textEditor.TextView.RenderScope.UpdateLayout(); // REVIEW:benwest:6/27/2006: This should use TextView.Validate, and check the return value instead of using IsValid below. 402if (_textEditor.TextView.IsValid) 404ITextPointer dragPosition = GetDropPosition(_textEditor.TextView.RenderScope as Visual, e.GetPosition(_textEditor.TextView.RenderScope)); 413bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 414Brush caretBrush = TextSelection.GetCaretBrush(_textEditor); 438Invariant.Assert(_textEditor.TextView.IsValid); // caller must guarantee this. 441if (target != _textEditor.TextView.RenderScope && target != null && (_textEditor.TextView.RenderScope).IsAncestorOf(target)) 443GeneralTransform transform = target.TransformToAncestor(_textEditor.TextView.RenderScope); 455if (_textEditor.AcceptsRichContent) 507ITextSelection selection = _textEditor.Selection; 527if (!_textEditor.TextView.Validate(e.GetPosition(_textEditor.TextView.RenderScope))) 534ITextPointer dropPosition = GetDropPosition(_textEditor.TextView.RenderScope as Visual, e.GetPosition(_textEditor.TextView.RenderScope)); 578e.Handled = TextEditorCopyPaste._DoPaste(_textEditor, e.Data, /*isDragDrop:*/true); 589_textEditor.UiScope.Focus(); 627if (!_textEditor.IsReadOnly && _textEditor.TextView != null && _textEditor.TextView.RenderScope != null) 629Window window = Window.GetWindow(_textEditor.TextView.RenderScope); 653source = PresentationSource.CriticalFromVisual(_textEditor.UiScope); 669return _textEditor.TextView;