4 instantiations of TextEditor
PresentationFramework (4)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
988
_textEditor = new
TextEditor
(Document.StructuralCache.TextContainer, this, false)
System\Windows\Controls\PasswordBox.cs (1)
871
_textEditor = new
TextEditor
(_textContainer, this, true);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1017
_textEditor = new
TextEditor
(textContainer, this, false)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1439
_textEditor = new
TextEditor
(_textContainer, this, true);
420 references to TextEditor
PresentationFramework (420)
MS\Internal\Documents\DocumentGrid.cs (1)
3056
private
TextEditor
TextEditor
MS\Internal\Documents\DocumentViewerHelper.cs (1)
76
internal static ITextRange Find(FindToolBar findToolBar,
TextEditor
textEditor, ITextView textView, ITextView masterPageTextView)
MS\Internal\Documents\TextBoxLine.cs (1)
449
var
textEditor = position.TextContainer.TextSelection?.TextEditor;
MS\Internal\Helper.cs (1)
1478
System.Windows.Documents.
TextEditor
te = tbb.TextEditor;
System\Windows\Annotations\AnnotationHelper.cs (1)
1048
return viewer == null ? null :
TextEditor
.GetTextSelection(viewer);
System\Windows\Controls\FlowDocumentReader.cs (3)
1545
TextEditor
textEditor = TextEditor;
1834
private
TextEditor
TextEditor
1838
TextEditor
textEditor = null;
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
120
ClearValue(
TextEditor
.PageHeightProperty);
1018
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
1327
TextEditor
.RegisterCommandHandlers(typeof(FlowDocumentScrollViewer), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1777
private
TextEditor
_textEditor; // Text editor (enables text selection)
System\Windows\Controls\PasswordBox.cs (3)
834
TextEditor
.RegisterCommandHandlers(typeof(PasswordBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1021
ITextView textview =
TextEditor
.GetTextView(_renderScope);
1256
private
TextEditor
_textEditor;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
720
internal
TextEditor
TextEditor
1459
TextEditor
.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1632
private
TextEditor
_textEditor; // TextEditor associated with DocumentViewer.
System\Windows\Controls\Primitives\TextBoxBase.cs (12)
427
TextEditor
.IsReadOnlyProperty.AddOwner(
439
get { return (bool) GetValue(
TextEditor
.IsReadOnlyProperty); }
440
set { SetValue(
TextEditor
.IsReadOnlyProperty, value); }
1482
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1484
position = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, snapToText);
1522
if (
TextEditor
.GetTextView(this.RenderScope).Validate(position))
1525
rect =
TextEditor
.GetTextView(this.RenderScope).GetRectangleFromTextPosition(position);
1559
SetValue(
TextEditor
.PageHeightProperty, this.ScrollViewer.ViewportHeight);
1579
ClearValue(
TextEditor
.PageHeightProperty);
1758
internal
TextEditor
TextEditor
1996
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
2160
private
TextEditor
_textEditor;
System\Windows\Controls\RichTextBox.cs (1)
94
TextEditor
.RegisterCommandHandlers(typeof(RichTextBox), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
System\Windows\Controls\SpellCheck.cs (4)
196
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
216
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
System\Windows\Controls\TextBox.cs (7)
86
TextEditor
.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1441
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1443
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1444
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1470
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1472
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1473
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
System\windows\Documents\CaretElement.cs (6)
44
internal CaretElement(
TextEditor
textEditor, bool isBlinkEnabled) : base(textEditor.TextView.RenderScope)
636
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
772
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
773
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).CaretElement;
782
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).TextView.RenderScope as FrameworkElement; // TextBlock / TextFlow
1222
private readonly
TextEditor
_textEditor;
System\Windows\Documents\ImmComposition.cs (6)
90
internal void OnDetach(
TextEditor
editor)
110
internal void OnGotFocus(
TextEditor
editor)
644
view =
TextEditor
.GetTextView(RenderScope);
1628
view =
TextEditor
.GetTextView(RenderScope);
1861
return ((bool)UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || _editor.IsReadOnly);
1903
private
TextEditor
_editor;
System\Windows\Documents\ITextSelection.cs (1)
150
TextEditor
TextEditor { get; }
System\Windows\Documents\Speller.cs (2)
38
internal Speller(
TextEditor
textEditor)
1997
private
TextEditor
_textEditor;
System\windows\Documents\TextEditor.cs (34)
87
_uiScope.SetValue(
TextEditor
.InstanceProperty, this);
204
_uiScope.ClearValue(
TextEditor
.InstanceProperty);
300
TextEditor
textEditor =
TextEditor
._GetTextEditor(frameworkElement);
776
typeof(
TextEditor
),
796
typeof(
TextEditor
),
806
typeof(
TextEditor
),
965
return _uiScope == null ? false : (bool)_uiScope.GetValue(
TextEditor
.IsReadOnlyProperty);
1020
return _uiScope == null ? true : (bool)_uiScope.GetValue(
TextEditor
.AllowOvertypeProperty);
1122
internal static
TextEditor
_GetTextEditor(object element)
1124
return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as
TextEditor
) : null;
1617
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1640
TextEditor
This =
TextEditor
._GetTextEditor(frameworkElement);
1671
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1723
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1760
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1803
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1829
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1855
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1875
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1904
public TextEditorShutDownListener(
TextEditor
target)
1911
TextEditor
editor = (
TextEditor
)target;
1936
"Instance", typeof(
TextEditor
), typeof(
TextEditor
), //
System\windows\Documents\TextEditorCharacters.cs (35)
57
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue)
62
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs)
67
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs, PropertyValueAction propertyValueAction)
120
TextEditor
This =
TextEditor
._GetTextEditor(target);
165
TextEditor
This =
TextEditor
._GetTextEditor(target);
185
TextEditor
This =
TextEditor
._GetTextEditor(target);
208
TextEditor
This =
TextEditor
._GetTextEditor(target);
237
TextEditor
This =
TextEditor
._GetTextEditor(sender);
256
TextEditor
This =
TextEditor
._GetTextEditor(sender);
284
TextEditor
This =
TextEditor
._GetTextEditor(target);
326
TextEditor
This =
TextEditor
._GetTextEditor(target);
371
TextEditor
This =
TextEditor
._GetTextEditor(target);
384
TextEditor
This =
TextEditor
._GetTextEditor(target);
397
TextEditor
This =
TextEditor
._GetTextEditor(target);
410
TextEditor
This =
TextEditor
._GetTextEditor(target);
419
TextEditor
This =
TextEditor
._GetTextEditor(target);
434
TextEditor
This =
TextEditor
._GetTextEditor(target);
443
TextEditor
This =
TextEditor
._GetTextEditor(target);
460
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorContextMenu.cs (9)
46
TextEditor
This =
TextEditor
._GetTextEditor(sender);
244
TextEditor
This =
TextEditor
._GetTextEditor(placementTarget);
259
private static void GetClippedPositionOffsets(
TextEditor
This, ITextPointer position, LogicalDirection direction,
435
internal void AddMenuItems(
TextEditor
textEditor)
476
private bool AddSpellerItems(
TextEditor
textEditor)
547
private bool AddReconversionItems(
TextEditor
textEditor)
610
private bool AddClipboardItems(
TextEditor
textEditor)
System\windows\Documents\TextEditorCopyPaste.cs (26)
60
internal static DataObject _CreateDataObject(
TextEditor
This, bool isDragDrop)
174
internal static bool _DoPaste(
TextEditor
This, IDataObject dataObject, bool isDragDrop)
226
internal static string GetPasteApplyFormat(
TextEditor
This, IDataObject dataObject)
271
internal static void Cut(
TextEditor
This, bool userInitiated)
319
internal static void Copy(
TextEditor
This, bool userInitiated)
353
internal static void Paste(
TextEditor
This)
482
TextEditor
This =
TextEditor
._GetTextEditor(target);
506
TextEditor
This =
TextEditor
._GetTextEditor(target);
527
TextEditor
This =
TextEditor
._GetTextEditor(target);
552
TextEditor
This =
TextEditor
._GetTextEditor(target);
573
TextEditor
This =
TextEditor
._GetTextEditor(target);
603
TextEditor
This =
TextEditor
._GetTextEditor(target);
618
TextEditor
This =
TextEditor
._GetTextEditor(target);
640
TextEditor
This =
TextEditor
._GetTextEditor(target);
672
private static bool PasteContentData(
TextEditor
This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply)
874
private static bool PasteTextElement(
TextEditor
This, TextElement sectionOrSpan)
902
private static bool PasteXaml(
TextEditor
This, string pasteXaml)
936
private static bool PastePlainText(
TextEditor
This, string pastedText)
System\windows\Documents\TextEditorDragDrop.cs (17)
70
internal _DragDropProcess(
TextEditor
textEditor)
367
double pageHeight = (double)_textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
674
private
TextEditor
_textEditor;
700
TextEditor
This =
TextEditor
._GetTextEditor(sender);
733
TextEditor
This =
TextEditor
._GetTextEditor(sender);
761
TextEditor
This =
TextEditor
._GetTextEditor(sender);
809
TextEditor
This =
TextEditor
._GetTextEditor(sender);
856
TextEditor
This =
TextEditor
._GetTextEditor(sender);
885
TextEditor
This =
TextEditor
._GetTextEditor(sender);
913
TextEditor
This =
TextEditor
._GetTextEditor(sender);
System\windows\Documents\TextEditorLists.cs (9)
38
internal static void DecreaseIndentation(
TextEditor
This)
64
private static
TextEditor
IsEnabledNotReadOnlyIsTextSegment(object sender)
66
TextEditor
This =
TextEditor
._GetTextEditor(sender);
80
TextEditor
This = IsEnabledNotReadOnlyIsTextSegment(sender);
95
TextEditor
This =
TextEditor
._GetTextEditor(target);
108
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorMouse.cs (19)
62
internal static void SetCaretPositionOnMouseEvent(
TextEditor
This, Point mouseDownPoint, MouseButton changedButton, int clickCount)
122
internal static bool IsPointWithinInteractiveArea(
TextEditor
textEditor, Point point)
147
TextEditor
This =
TextEditor
._GetTextEditor(sender);
231
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseDownPoint))
268
TextEditor
This =
TextEditor
._GetTextEditor(sender);
300
TextEditor
This =
TextEditor
._GetTextEditor(sender);
381
TextEditor
This =
TextEditor
._GetTextEditor(sender);
427
private static void OnMouseMoveWithoutFocus(
TextEditor
This, MouseEventArgs e)
434
private static void OnMouseMoveWithFocus(
TextEditor
This, MouseEventArgs e)
444
TextEditor
._ThreadLocalStore.PureControlShift = false;
591
private static bool MoveFocusToUiScope(
TextEditor
This)
668
private static void UpdateCursor(
TextEditor
This, Point mouseMovePoint)
676
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseMovePoint))
711
private static UIElement GetUIElementWhenMouseOver(
TextEditor
This, Point mouseMovePoint)
755
private static bool IsPointWithinRenderScope(
TextEditor
textEditor, Point point)
System\windows\Documents\TextEditorParagraphs.cs (14)
65
TextEditor
This =
TextEditor
._GetTextEditor(sender);
80
TextEditor
This =
TextEditor
._GetTextEditor(sender);
95
TextEditor
This =
TextEditor
._GetTextEditor(sender);
110
TextEditor
This =
TextEditor
._GetTextEditor(sender);
140
TextEditor
This =
TextEditor
._GetTextEditor(sender);
150
TextEditor
This =
TextEditor
._GetTextEditor(sender);
168
TextEditor
This =
TextEditor
._GetTextEditor(sender);
System\windows\Documents\TextEditorSelection.cs (91)
90
internal static void _ClearSuggestedX(
TextEditor
This)
146
TextEditor
This =
TextEditor
._GetTextEditor(target);
181
TextEditor
This =
TextEditor
._GetTextEditor(target);
197
TextEditor
This =
TextEditor
._GetTextEditor(target);
213
TextEditor
This =
TextEditor
._GetTextEditor(target);
229
TextEditor
This =
TextEditor
._GetTextEditor(target);
243
TextEditor
This =
TextEditor
._GetTextEditor(sender);
335
TextEditor
This =
TextEditor
._GetTextEditor(sender);
425
TextEditor
This =
TextEditor
._GetTextEditor(sender);
480
TextEditor
This =
TextEditor
._GetTextEditor(sender);
534
TextEditor
This =
TextEditor
._GetTextEditor(sender);
575
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
654
TextEditor
This =
TextEditor
._GetTextEditor(sender);
692
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
771
TextEditor
This =
TextEditor
._GetTextEditor(target);
823
TextEditor
This =
TextEditor
._GetTextEditor(target);
875
TextEditor
This =
TextEditor
._GetTextEditor(target);
903
TextEditor
This =
TextEditor
._GetTextEditor(target);
939
TextEditor
This =
TextEditor
._GetTextEditor(target);
955
TextEditor
This =
TextEditor
._GetTextEditor(target);
970
TextEditor
This =
TextEditor
._GetTextEditor(target);
986
TextEditor
This =
TextEditor
._GetTextEditor(target);
1000
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1106
private static void AdjustMovingPositionForSelectDownByLine(
TextEditor
This, ITextPointer newMovingPosition, ITextPointer originalMovingPosition, double suggestedX)
1172
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1296
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1337
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1381
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1403
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1477
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1499
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1575
TextEditor
This =
TextEditor
._GetTextEditor(target);
1620
TextEditor
This =
TextEditor
._GetTextEditor(target);
1708
TextEditor
This =
TextEditor
._GetTextEditor(target);
1736
TextEditor
This =
TextEditor
._GetTextEditor(target);
1770
TextEditor
This = e.UserState as
TextEditor
;
1800
TextEditor
This = e.UserState as
TextEditor
;
1825
TextEditor
This;
1832
This = e.UserState as
TextEditor
;
1888
TextEditor
This;
1895
This = e.UserState as
TextEditor
;
1955
TextEditor
This =
TextEditor
._GetTextEditor(target);
1970
TextEditor
This =
TextEditor
._GetTextEditor(target);
2006
private static void ClearSpringloadFormatting(
TextEditor
This)
2017
private static bool IsFlowDirectionRightToLeftThenTopToBottom(
TextEditor
textEditor)
2037
private static void MoveToCharacterLogicalDirection(
TextEditor
textEditor, LogicalDirection direction, bool extend)
2098
private static void NavigateWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2173
private static void ExtendWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2219
private static Double GetSuggestedX(
TextEditor
This, out ITextPointer innerMovingPosition)
2267
private static Double GetSuggestedYFromPosition(
TextEditor
This, ITextPointer position)
2283
private static void UpdateSuggestedXOnColumnOrPageBoundary(
TextEditor
This, double newSuggestedX)
2301
private static ITextPointer GetMovingPositionInner(
TextEditor
This)
2331
private static ITextPointer GetStartInner(
TextEditor
This)
2343
private static ITextPointer GetEndInner(
TextEditor
This)
2370
private static void ExtendSelectionAndBringIntoView(ITextPointer position,
TextEditor
textEditor)
2376
private static void BringIntoView(ITextPointer position,
TextEditor
textEditor)
2378
double pageHeight = (double)textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
2392
private static void AdjustCaretAtTableRowEnd(
TextEditor
This)
System\windows\Documents\TextEditorSpelling.cs (9)
36
internal static SpellingError GetSpellingErrorAtPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
42
internal static SpellingError GetSpellingErrorAtSelection(
TextEditor
This)
101
internal static ITextPointer GetNextSpellingErrorPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
122
TextEditor
This =
TextEditor
._GetTextEditor(target);
224
TextEditor
This =
TextEditor
._GetTextEditor(target);
241
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorTables.cs (4)
54
TextEditor
This =
TextEditor
._GetTextEditor(target);
110
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorTyping.cs (73)
88
internal static void _AddInputLanguageChangedEventHandler(
TextEditor
This)
96
threadLocalStore =
TextEditor
._ThreadLocalStore;
115
internal static void _RemoveInputLanguageChangedEventHandler(
TextEditor
This)
119
threadLocalStore =
TextEditor
._ThreadLocalStore;
139
internal static void _BreakTypingSequence(
TextEditor
This)
146
internal static void _FlushPendingInputItems(
TextEditor
This)
152
threadLocalStore =
TextEditor
._ThreadLocalStore;
185
if (
TextEditor
._ThreadLocalStore.HideCursor)
187
TextEditor
._ThreadLocalStore.HideCursor = false;
248
TextEditor
This = richTextBox.TextEditor;
280
TextEditor
This =
TextEditor
._GetTextEditor(sender);
296
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
326
TextEditor
This =
TextEditor
._GetTextEditor(sender);
338
if (
TextEditor
._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0)
355
TextEditor
This =
TextEditor
._GetTextEditor(sender);
421
TextEditor
This =
TextEditor
._GetTextEditor(target);
445
TextEditor
This =
TextEditor
._GetTextEditor(target);
460
TextEditor
This =
TextEditor
._GetTextEditor(target);
514
TextEditor
This =
TextEditor
._GetTextEditor(sender);
567
TextEditor
This =
TextEditor
._GetTextEditor(sender);
721
private static bool HandleDeleteWhenStructuralBoundaryIsCrossed(
TextEditor
This, TextPointer position, TextPointer deletePosition)
882
TextEditor
This =
TextEditor
._GetTextEditor(sender);
940
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1015
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1035
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1081
private static bool HandleEnterBreakForRichText(
TextEditor
This, ICommand command)
1130
private static bool HandleEnterBreakForPlainText(
TextEditor
This)
1152
private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(
TextEditor
This, ICommand command)
1205
private static void OnFlowDirectionCommand(
TextEditor
This, Key key)
1256
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1293
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1309
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1323
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1354
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1385
private static bool HandleTabInTables(
TextEditor
This, LogicalDirection direction)
1506
private static void DoTextInput(
TextEditor
This, string textData, bool isInsertKeyToggled, bool acceptControlCharacters)
1570
private static void ScheduleInput(
TextEditor
This, InputItem item)
1582
threadLocalStore =
TextEditor
._ThreadLocalStore;
1598
private static bool IsMouseInputPending(
TextEditor
This)
1620
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1622
Invariant.Assert(This is
TextEditor
);
1627
TextEditorTyping._FlushPendingInputItems((
TextEditor
)This);
1649
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1667
internal InputItem(
TextEditor
textEditor)
1676
TextEditor
_textEditor;
1678
protected
TextEditor
TextEditor
1691
internal TextInputItem(
TextEditor
textEditor, string text, bool isInsertKeyToggled)
1719
internal KeyUpInputItem(
TextEditor
textEditor, Key key, ModifierKeys modifiers)
1778
private static void OpenTypingUndoUnit(
TextEditor
This)
1803
private static void CloseTypingUndoUnit(
TextEditor
This, UndoCloseAction closeAction)
1829
TextEditor
This =
TextEditor
._GetTextEditor(target);
1859
private static void HideCursor(
TextEditor
This)
1861
if (!
TextEditor
._ThreadLocalStore.HideCursor &&
1865
TextEditor
._ThreadLocalStore.HideCursor = true;
1872
private static void UpdateHyperlinkCursor(
TextEditor
This)
System\windows\Documents\TextSelection.cs (14)
39
internal TextSelection(
TextEditor
textEditor)
1194
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1601
internal static Brush GetCaretBrush(
TextEditor
textEditor)
1761
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1771
if (
TextEditor
._ThreadLocalStore.FocusedTextSelection == this)
1773
TextEditor
._ThreadLocalStore.FocusedTextSelection = null;
2018
private static void RefreshCaret(
TextEditor
textEditor, ITextSelection textSelection)
2062
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2344
private static double CalculateScrollToOriginPosition(
TextEditor
textEditor, ITextPointer caretPosition, double horizontalCaretPosition)
2402
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2417
TextEditor
._ThreadLocalStore.Bidi = true;
2421
TextEditor
._ThreadLocalStore.Bidi = false;
2606
TextEditor
ITextSelection.TextEditor
2705
private
TextEditor
_textEditor;
System\Windows\Documents\TextServicesHost.cs (2)
186
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
383
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
System\Windows\Documents\TextStore.cs (7)
50
internal TextStore(
TextEditor
textEditor)
2038
internal static FrameworkTextComposition CreateComposition(
TextEditor
editor, object owner)
2309
TextEditor
textEditor = this.TextEditor;
4121
private
TextEditor
TextEditor
4135
return ((bool)this.UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || TextEditor.IsReadOnly);
4227
internal
TextEditor
TextEditor
4233
return (
TextEditor
)this.Target;