30 references to TextEditor
PresentationFramework (30)
MS\Internal\Helper.cs (1)
1484System.Windows.Documents.TextEditor te = tbb.TextEditor;
System\Windows\Controls\CustomDictionarySources.cs (2)
328if (_owner.TextEditor == null) 332return _owner.TextEditor.Speller;
System\Windows\Controls\Primitives\TextBoxBase.cs (13)
128TextEditorCopyPaste.Copy(this.TextEditor, false); 136TextEditorCopyPaste.Cut(this.TextEditor, false); 145TextEditorCopyPaste.Paste(this.TextEditor); 318this.TextEditor.Undo(); 336this.TextEditor.Redo(); 387this.TextEditor.Selection.BeginChange(); 395if (this.TextEditor.Selection.ChangeBlockLevel == 0) 400this.TextEditor.Selection.EndChange(); 409return this.TextEditor.Selection.DeclareChangeBlock(); 2166if ((textBox.TextEditor != null) && (textBox.TextEditor.TextStore != null)) 2174textBox.TextEditor.TextStore.OnGotFocus(); 2194caretElement.UpdateCaretBrush(TextSelection.GetCaretBrush(textBoxBase.TextEditor));
System\Windows\Controls\RichTextBox.cs (5)
120Invariant.Assert(this.TextEditor != null); 121Invariant.Assert(this.TextEditor.TextContainer == this.TextContainer); 226return this.TextEditor.GetSpellingErrorAtPosition(position, position.LogicalDirection); 245SpellingError spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, position.LogicalDirection); 271return (TextPointer)this.TextEditor.GetNextSpellingErrorPosition(position, direction);
System\Windows\Controls\TextBox.cs (7)
96this.TextEditor.AcceptsRichContent = false; 480SpellingError spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, LogicalDirection.Forward); 485spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, LogicalDirection.Backward); 558position = this.TextEditor.GetNextSpellingErrorPosition(position, direction); 1040this.TextEditor.Speller != null) 1042this.TextEditor.Speller.ResetErrors(); 1674UndoManager undoManager = TextEditor._GetUndoManager();
System\Windows\Documents\Run.cs (1)
282UndoManager undoManager = rtb.TextEditor._GetUndoManager();
System\windows\Documents\TextEditorTyping.cs (1)
251TextEditor This = richTextBox.TextEditor;