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)
112ITextSelection selection = _textEditor.Selection; 114if (_textEditor.UiScope is PasswordBox) 146Point mouseDownPoint = e.GetPosition(_textEditor.TextView.RenderScope); 150_textEditor.Selection.SetSelectionByMouse(cursorPosition, mouseDownPoint); 181ITextSelection selection = _textEditor.Selection; 199IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(_textEditor, /*isDragDrop:*/true); 212_textEditor.UiScope.ReleaseMouseCapture(); 241if (!_textEditor.IsReadOnly) 251_textEditor.UiScope, // dragSource, 265if (!_textEditor.IsReadOnly && // 292if (!_textEditor.IsReadOnly) 295_textEditor.UiScope, TextBox.TextProperty); 313_caretDragDrop = new CaretElement(_textEditor, /*isBlinkEnabled:*/false); 370if (!_textEditor.TextView.Validate(e.GetPosition(_textEditor.TextView.RenderScope))) 376FrameworkElement scroller = _textEditor._Scroller; 396double 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. 432if (_textEditor.TextView.IsValid) 434ITextPointer dragPosition = GetDropPosition(_textEditor.TextView.RenderScope as Visual, e.GetPosition(_textEditor.TextView.RenderScope)); 443bool italic = (_textEditor.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic); 444Brush caretBrush = TextSelection.GetCaretBrush(_textEditor); 468Invariant.Assert(_textEditor.TextView.IsValid); // caller must guarantee this. 471if (target != _textEditor.TextView.RenderScope && target != null && (_textEditor.TextView.RenderScope).IsAncestorOf(target)) 473GeneralTransform transform = target.TransformToAncestor(_textEditor.TextView.RenderScope); 485if (_textEditor.AcceptsRichContent) 537ITextSelection selection = _textEditor.Selection; 557if (!_textEditor.TextView.Validate(e.GetPosition(_textEditor.TextView.RenderScope))) 564ITextPointer dropPosition = GetDropPosition(_textEditor.TextView.RenderScope as Visual, e.GetPosition(_textEditor.TextView.RenderScope)); 608e.Handled = TextEditorCopyPaste._DoPaste(_textEditor, e.Data, /*isDragDrop:*/true); 619_textEditor.UiScope.Focus(); 657if (!_textEditor.IsReadOnly && _textEditor.TextView != null && _textEditor.TextView.RenderScope != null) 659Window window = Window.GetWindow(_textEditor.TextView.RenderScope); 690source = PresentationSource.CriticalFromVisual(_textEditor.UiScope); 715return _textEditor.TextView;