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)
126TextEditorCopyPaste.Copy(this.TextEditor, false); 134TextEditorCopyPaste.Cut(this.TextEditor, false); 143TextEditorCopyPaste.Paste(this.TextEditor); 316this.TextEditor.Undo(); 334this.TextEditor.Redo(); 385this.TextEditor.Selection.BeginChange(); 393if (this.TextEditor.Selection.ChangeBlockLevel == 0) 398this.TextEditor.Selection.EndChange(); 407return this.TextEditor.Selection.DeclareChangeBlock(); 2167if ((textBox.TextEditor != null) && (textBox.TextEditor.TextStore != null)) 2175textBox.TextEditor.TextStore.OnGotFocus(); 2195caretElement.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)
94this.TextEditor.AcceptsRichContent = false; 478SpellingError spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, LogicalDirection.Forward); 483spellingError = this.TextEditor.GetSpellingErrorAtPosition(position, LogicalDirection.Backward); 556position = this.TextEditor.GetNextSpellingErrorPosition(position, direction); 1038this.TextEditor.Speller != null) 1040this.TextEditor.Speller.ResetErrors(); 1672UndoManager undoManager = TextEditor._GetUndoManager();
System\Windows\Documents\Run.cs (1)
282UndoManager undoManager = rtb.TextEditor._GetUndoManager();
System\windows\Documents\TextEditorTyping.cs (1)
251TextEditor This = richTextBox.TextEditor;