4 instantiations of TextEditor
PresentationFramework (4)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
995
_textEditor = new
TextEditor
(Document.StructuralCache.TextContainer, this, false);
System\Windows\Controls\PasswordBox.cs (1)
886
_textEditor = new
TextEditor
(_textContainer, this, true);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1042
_textEditor = new
TextEditor
(textContainer, this, false);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1500
_textEditor = new
TextEditor
(_textContainer, this, true);
420 references to TextEditor
PresentationFramework (420)
MS\Internal\Documents\DocumentGrid.cs (1)
3070
private
TextEditor
TextEditor
MS\Internal\Documents\DocumentViewerHelper.cs (1)
78
internal static ITextRange Find(FindToolBar findToolBar,
TextEditor
textEditor, ITextView textView, ITextView masterPageTextView)
MS\Internal\Documents\TextBoxLine.cs (1)
456
var
textEditor = position.TextContainer.TextSelection?.TextEditor;
MS\Internal\Helper.cs (1)
1493
System.Windows.Documents.
TextEditor
te = tbb.TextEditor;
System\Windows\Annotations\AnnotationHelper.cs (1)
1062
return viewer == null ? null :
TextEditor
.GetTextSelection(viewer);
System\Windows\Controls\FlowDocumentReader.cs (3)
1573
TextEditor
textEditor = TextEditor;
1874
private
TextEditor
TextEditor
1878
TextEditor
textEditor = null;
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
123
ClearValue(
TextEditor
.PageHeightProperty);
1023
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
1339
TextEditor
.RegisterCommandHandlers(typeof(FlowDocumentScrollViewer), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1816
private
TextEditor
_textEditor; // Text editor (enables text selection)
System\Windows\Controls\PasswordBox.cs (3)
849
TextEditor
.RegisterCommandHandlers(typeof(PasswordBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1041
ITextView textview =
TextEditor
.GetTextView(_renderScope);
1282
private
TextEditor
_textEditor;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
739
internal
TextEditor
TextEditor
1492
TextEditor
.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1667
private
TextEditor
_textEditor; // TextEditor associated with DocumentViewer.
System\Windows\Controls\Primitives\TextBoxBase.cs (12)
434
TextEditor
.IsReadOnlyProperty.AddOwner(
446
get { return (bool) GetValue(
TextEditor
.IsReadOnlyProperty); }
447
set { SetValue(
TextEditor
.IsReadOnlyProperty, value); }
1546
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1548
position = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, snapToText);
1586
if (
TextEditor
.GetTextView(this.RenderScope).Validate(position))
1589
rect =
TextEditor
.GetTextView(this.RenderScope).GetRectangleFromTextPosition(position);
1626
SetValue(
TextEditor
.PageHeightProperty, this.ScrollViewer.ViewportHeight);
1646
ClearValue(
TextEditor
.PageHeightProperty);
1831
internal
TextEditor
TextEditor
2075
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
2239
private
TextEditor
_textEditor;
System\Windows\Controls\RichTextBox.cs (1)
98
TextEditor
.RegisterCommandHandlers(typeof(RichTextBox), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
System\Windows\Controls\SpellCheck.cs (4)
199
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
219
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
System\Windows\Controls\TextBox.cs (7)
93
TextEditor
.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1446
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1448
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1449
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1475
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1477
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1478
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
System\windows\Documents\CaretElement.cs (6)
50
internal CaretElement(
TextEditor
textEditor, bool isBlinkEnabled) : base(textEditor.TextView.RenderScope)
640
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
774
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
775
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).CaretElement;
784
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).TextView.RenderScope as FrameworkElement; // TextBlock / TextFlow
1233
private readonly
TextEditor
_textEditor;
System\Windows\Documents\ImmComposition.cs (6)
106
internal void OnDetach(
TextEditor
editor)
126
internal void OnGotFocus(
TextEditor
editor)
667
view =
TextEditor
.GetTextView(RenderScope);
1649
view =
TextEditor
.GetTextView(RenderScope);
1882
return ((bool)UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || _editor.IsReadOnly);
1924
private
TextEditor
_editor;
System\Windows\Documents\ITextSelection.cs (1)
158
TextEditor
TextEditor { get; }
System\Windows\Documents\Speller.cs (2)
42
internal Speller(
TextEditor
textEditor)
2004
private
TextEditor
_textEditor;
System\windows\Documents\TextEditor.cs (34)
98
_uiScope.SetValue(
TextEditor
.InstanceProperty, this);
215
_uiScope.ClearValue(
TextEditor
.InstanceProperty);
314
TextEditor
textEditor =
TextEditor
._GetTextEditor(frameworkElement);
788
typeof(
TextEditor
),
808
typeof(
TextEditor
),
818
typeof(
TextEditor
),
977
return _uiScope == null ? false : (bool)_uiScope.GetValue(
TextEditor
.IsReadOnlyProperty);
1032
return _uiScope == null ? true : (bool)_uiScope.GetValue(
TextEditor
.AllowOvertypeProperty);
1134
internal static
TextEditor
_GetTextEditor(object element)
1136
return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as
TextEditor
) : null;
1641
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1664
TextEditor
This =
TextEditor
._GetTextEditor(frameworkElement);
1695
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1750
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1790
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1833
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1859
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1885
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1905
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1934
public TextEditorShutDownListener(
TextEditor
target)
1941
TextEditor
editor = (
TextEditor
)target;
1966
"Instance", typeof(
TextEditor
), typeof(
TextEditor
), //
System\windows\Documents\TextEditorCharacters.cs (35)
73
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue)
78
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs)
83
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs, PropertyValueAction propertyValueAction)
136
TextEditor
This =
TextEditor
._GetTextEditor(target);
181
TextEditor
This =
TextEditor
._GetTextEditor(target);
201
TextEditor
This =
TextEditor
._GetTextEditor(target);
224
TextEditor
This =
TextEditor
._GetTextEditor(target);
253
TextEditor
This =
TextEditor
._GetTextEditor(sender);
272
TextEditor
This =
TextEditor
._GetTextEditor(sender);
300
TextEditor
This =
TextEditor
._GetTextEditor(target);
342
TextEditor
This =
TextEditor
._GetTextEditor(target);
387
TextEditor
This =
TextEditor
._GetTextEditor(target);
400
TextEditor
This =
TextEditor
._GetTextEditor(target);
413
TextEditor
This =
TextEditor
._GetTextEditor(target);
426
TextEditor
This =
TextEditor
._GetTextEditor(target);
435
TextEditor
This =
TextEditor
._GetTextEditor(target);
450
TextEditor
This =
TextEditor
._GetTextEditor(target);
459
TextEditor
This =
TextEditor
._GetTextEditor(target);
476
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorContextMenu.cs (9)
48
TextEditor
This =
TextEditor
._GetTextEditor(sender);
246
TextEditor
This =
TextEditor
._GetTextEditor(placementTarget);
261
private static void GetClippedPositionOffsets(
TextEditor
This, ITextPointer position, LogicalDirection direction,
437
internal void AddMenuItems(
TextEditor
textEditor)
478
private bool AddSpellerItems(
TextEditor
textEditor)
543
private bool AddReconversionItems(
TextEditor
textEditor)
602
private bool AddClipboardItems(
TextEditor
textEditor)
System\windows\Documents\TextEditorCopyPaste.cs (26)
73
internal static DataObject _CreateDataObject(
TextEditor
This, bool isDragDrop)
187
internal static bool _DoPaste(
TextEditor
This, IDataObject dataObject, bool isDragDrop)
239
internal static string GetPasteApplyFormat(
TextEditor
This, IDataObject dataObject)
284
internal static void Cut(
TextEditor
This, bool userInitiated)
332
internal static void Copy(
TextEditor
This, bool userInitiated)
366
internal static void Paste(
TextEditor
This)
493
TextEditor
This =
TextEditor
._GetTextEditor(target);
517
TextEditor
This =
TextEditor
._GetTextEditor(target);
538
TextEditor
This =
TextEditor
._GetTextEditor(target);
563
TextEditor
This =
TextEditor
._GetTextEditor(target);
584
TextEditor
This =
TextEditor
._GetTextEditor(target);
614
TextEditor
This =
TextEditor
._GetTextEditor(target);
629
TextEditor
This =
TextEditor
._GetTextEditor(target);
651
TextEditor
This =
TextEditor
._GetTextEditor(target);
683
private static bool PasteContentData(
TextEditor
This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply)
885
private static bool PasteTextElement(
TextEditor
This, TextElement sectionOrSpan)
913
private static bool PasteXaml(
TextEditor
This, string pasteXaml)
947
private static bool PastePlainText(
TextEditor
This, string pastedText)
System\windows\Documents\TextEditorDragDrop.cs (17)
87
internal _DragDropProcess(
TextEditor
textEditor)
384
double pageHeight = (double)_textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
691
private
TextEditor
_textEditor;
717
TextEditor
This =
TextEditor
._GetTextEditor(sender);
750
TextEditor
This =
TextEditor
._GetTextEditor(sender);
778
TextEditor
This =
TextEditor
._GetTextEditor(sender);
826
TextEditor
This =
TextEditor
._GetTextEditor(sender);
873
TextEditor
This =
TextEditor
._GetTextEditor(sender);
902
TextEditor
This =
TextEditor
._GetTextEditor(sender);
930
TextEditor
This =
TextEditor
._GetTextEditor(sender);
System\windows\Documents\TextEditorLists.cs (9)
54
internal static void DecreaseIndentation(
TextEditor
This)
80
private static
TextEditor
IsEnabledNotReadOnlyIsTextSegment(object sender)
82
TextEditor
This =
TextEditor
._GetTextEditor(sender);
96
TextEditor
This = IsEnabledNotReadOnlyIsTextSegment(sender);
111
TextEditor
This =
TextEditor
._GetTextEditor(target);
124
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorMouse.cs (19)
76
internal static void SetCaretPositionOnMouseEvent(
TextEditor
This, Point mouseDownPoint, MouseButton changedButton, int clickCount)
136
internal static bool IsPointWithinInteractiveArea(
TextEditor
textEditor, Point point)
164
TextEditor
This =
TextEditor
._GetTextEditor(sender);
248
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseDownPoint))
285
TextEditor
This =
TextEditor
._GetTextEditor(sender);
317
TextEditor
This =
TextEditor
._GetTextEditor(sender);
398
TextEditor
This =
TextEditor
._GetTextEditor(sender);
444
private static void OnMouseMoveWithoutFocus(
TextEditor
This, MouseEventArgs e)
451
private static void OnMouseMoveWithFocus(
TextEditor
This, MouseEventArgs e)
461
TextEditor
._ThreadLocalStore.PureControlShift = false;
608
private static bool MoveFocusToUiScope(
TextEditor
This)
685
private static void UpdateCursor(
TextEditor
This, Point mouseMovePoint)
693
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseMovePoint))
728
private static UIElement GetUIElementWhenMouseOver(
TextEditor
This, Point mouseMovePoint)
772
private static bool IsPointWithinRenderScope(
TextEditor
textEditor, Point point)
System\windows\Documents\TextEditorParagraphs.cs (14)
82
TextEditor
This =
TextEditor
._GetTextEditor(sender);
97
TextEditor
This =
TextEditor
._GetTextEditor(sender);
112
TextEditor
This =
TextEditor
._GetTextEditor(sender);
127
TextEditor
This =
TextEditor
._GetTextEditor(sender);
157
TextEditor
This =
TextEditor
._GetTextEditor(sender);
167
TextEditor
This =
TextEditor
._GetTextEditor(sender);
185
TextEditor
This =
TextEditor
._GetTextEditor(sender);
System\windows\Documents\TextEditorSelection.cs (91)
105
internal static void _ClearSuggestedX(
TextEditor
This)
161
TextEditor
This =
TextEditor
._GetTextEditor(target);
196
TextEditor
This =
TextEditor
._GetTextEditor(target);
212
TextEditor
This =
TextEditor
._GetTextEditor(target);
228
TextEditor
This =
TextEditor
._GetTextEditor(target);
244
TextEditor
This =
TextEditor
._GetTextEditor(target);
258
TextEditor
This =
TextEditor
._GetTextEditor(sender);
350
TextEditor
This =
TextEditor
._GetTextEditor(sender);
440
TextEditor
This =
TextEditor
._GetTextEditor(sender);
495
TextEditor
This =
TextEditor
._GetTextEditor(sender);
549
TextEditor
This =
TextEditor
._GetTextEditor(sender);
590
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
669
TextEditor
This =
TextEditor
._GetTextEditor(sender);
707
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
786
TextEditor
This =
TextEditor
._GetTextEditor(target);
838
TextEditor
This =
TextEditor
._GetTextEditor(target);
890
TextEditor
This =
TextEditor
._GetTextEditor(target);
918
TextEditor
This =
TextEditor
._GetTextEditor(target);
954
TextEditor
This =
TextEditor
._GetTextEditor(target);
970
TextEditor
This =
TextEditor
._GetTextEditor(target);
985
TextEditor
This =
TextEditor
._GetTextEditor(target);
1001
TextEditor
This =
TextEditor
._GetTextEditor(target);
1015
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1121
private static void AdjustMovingPositionForSelectDownByLine(
TextEditor
This, ITextPointer newMovingPosition, ITextPointer originalMovingPosition, double suggestedX)
1187
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1311
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1352
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1396
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1418
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1492
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1514
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1590
TextEditor
This =
TextEditor
._GetTextEditor(target);
1635
TextEditor
This =
TextEditor
._GetTextEditor(target);
1723
TextEditor
This =
TextEditor
._GetTextEditor(target);
1751
TextEditor
This =
TextEditor
._GetTextEditor(target);
1785
TextEditor
This = e.UserState as
TextEditor
;
1815
TextEditor
This = e.UserState as
TextEditor
;
1840
TextEditor
This;
1847
This = e.UserState as
TextEditor
;
1903
TextEditor
This;
1910
This = e.UserState as
TextEditor
;
1970
TextEditor
This =
TextEditor
._GetTextEditor(target);
1985
TextEditor
This =
TextEditor
._GetTextEditor(target);
2021
private static void ClearSpringloadFormatting(
TextEditor
This)
2032
private static bool IsFlowDirectionRightToLeftThenTopToBottom(
TextEditor
textEditor)
2052
private static void MoveToCharacterLogicalDirection(
TextEditor
textEditor, LogicalDirection direction, bool extend)
2113
private static void NavigateWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2188
private static void ExtendWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2234
private static Double GetSuggestedX(
TextEditor
This, out ITextPointer innerMovingPosition)
2282
private static Double GetSuggestedYFromPosition(
TextEditor
This, ITextPointer position)
2298
private static void UpdateSuggestedXOnColumnOrPageBoundary(
TextEditor
This, double newSuggestedX)
2316
private static ITextPointer GetMovingPositionInner(
TextEditor
This)
2346
private static ITextPointer GetStartInner(
TextEditor
This)
2358
private static ITextPointer GetEndInner(
TextEditor
This)
2385
private static void ExtendSelectionAndBringIntoView(ITextPointer position,
TextEditor
textEditor)
2391
private static void BringIntoView(ITextPointer position,
TextEditor
textEditor)
2393
double pageHeight = (double)textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
2407
private static void AdjustCaretAtTableRowEnd(
TextEditor
This)
System\windows\Documents\TextEditorSpelling.cs (9)
37
internal static SpellingError GetSpellingErrorAtPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
43
internal static SpellingError GetSpellingErrorAtSelection(
TextEditor
This)
102
internal static ITextPointer GetNextSpellingErrorPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
123
TextEditor
This =
TextEditor
._GetTextEditor(target);
225
TextEditor
This =
TextEditor
._GetTextEditor(target);
242
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorTables.cs (4)
71
TextEditor
This =
TextEditor
._GetTextEditor(target);
127
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorTyping.cs (73)
97
internal static void _AddInputLanguageChangedEventHandler(
TextEditor
This)
105
threadLocalStore =
TextEditor
._ThreadLocalStore;
124
internal static void _RemoveInputLanguageChangedEventHandler(
TextEditor
This)
128
threadLocalStore =
TextEditor
._ThreadLocalStore;
148
internal static void _BreakTypingSequence(
TextEditor
This)
155
internal static void _FlushPendingInputItems(
TextEditor
This)
164
threadLocalStore =
TextEditor
._ThreadLocalStore;
197
if (
TextEditor
._ThreadLocalStore.HideCursor)
199
TextEditor
._ThreadLocalStore.HideCursor = false;
260
TextEditor
This = richTextBox.TextEditor;
292
TextEditor
This =
TextEditor
._GetTextEditor(sender);
308
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
338
TextEditor
This =
TextEditor
._GetTextEditor(sender);
350
if (
TextEditor
._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0)
367
TextEditor
This =
TextEditor
._GetTextEditor(sender);
436
TextEditor
This =
TextEditor
._GetTextEditor(target);
460
TextEditor
This =
TextEditor
._GetTextEditor(target);
478
TextEditor
This =
TextEditor
._GetTextEditor(target);
532
TextEditor
This =
TextEditor
._GetTextEditor(sender);
585
TextEditor
This =
TextEditor
._GetTextEditor(sender);
739
private static bool HandleDeleteWhenStructuralBoundaryIsCrossed(
TextEditor
This, TextPointer position, TextPointer deletePosition)
900
TextEditor
This =
TextEditor
._GetTextEditor(sender);
958
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1033
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1053
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1099
private static bool HandleEnterBreakForRichText(
TextEditor
This, ICommand command)
1148
private static bool HandleEnterBreakForPlainText(
TextEditor
This)
1170
private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(
TextEditor
This, ICommand command)
1223
private static void OnFlowDirectionCommand(
TextEditor
This, Key key)
1274
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1314
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1330
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1344
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1375
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1406
private static bool HandleTabInTables(
TextEditor
This, LogicalDirection direction)
1527
private static void DoTextInput(
TextEditor
This, string textData, bool isInsertKeyToggled, bool acceptControlCharacters)
1591
private static void ScheduleInput(
TextEditor
This, InputItem item)
1603
threadLocalStore =
TextEditor
._ThreadLocalStore;
1619
private static bool IsMouseInputPending(
TextEditor
This)
1641
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1643
Invariant.Assert(This is
TextEditor
);
1648
TextEditorTyping._FlushPendingInputItems((
TextEditor
)This);
1670
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1688
internal InputItem(
TextEditor
textEditor)
1697
TextEditor
_textEditor;
1699
protected
TextEditor
TextEditor
1712
internal TextInputItem(
TextEditor
textEditor, string text, bool isInsertKeyToggled)
1740
internal KeyUpInputItem(
TextEditor
textEditor, Key key, ModifierKeys modifiers)
1799
private static void OpenTypingUndoUnit(
TextEditor
This)
1824
private static void CloseTypingUndoUnit(
TextEditor
This, UndoCloseAction closeAction)
1850
TextEditor
This =
TextEditor
._GetTextEditor(target);
1880
private static void HideCursor(
TextEditor
This)
1882
if (!
TextEditor
._ThreadLocalStore.HideCursor &&
1886
TextEditor
._ThreadLocalStore.HideCursor = true;
1893
private static void UpdateHyperlinkCursor(
TextEditor
This)
System\windows\Documents\TextSelection.cs (14)
42
internal TextSelection(
TextEditor
textEditor)
1212
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1619
internal static Brush GetCaretBrush(
TextEditor
textEditor)
1779
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1789
if (
TextEditor
._ThreadLocalStore.FocusedTextSelection == this)
1791
TextEditor
._ThreadLocalStore.FocusedTextSelection = null;
2036
private static void RefreshCaret(
TextEditor
textEditor, ITextSelection textSelection)
2080
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2362
private static double CalculateScrollToOriginPosition(
TextEditor
textEditor, ITextPointer caretPosition, double horizontalCaretPosition)
2420
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2433
TextEditor
._ThreadLocalStore.Bidi = true;
2437
TextEditor
._ThreadLocalStore.Bidi = false;
2622
TextEditor
ITextSelection.TextEditor
2721
private
TextEditor
_textEditor;
System\Windows\Documents\TextServicesHost.cs (2)
197
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
394
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
System\Windows\Documents\TextStore.cs (7)
61
internal TextStore(
TextEditor
textEditor)
2055
internal static FrameworkTextComposition CreateComposition(
TextEditor
editor, object owner)
2326
TextEditor
textEditor = this.TextEditor;
4139
private
TextEditor
TextEditor
4153
return ((bool)this.UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || TextEditor.IsReadOnly);
4245
internal
TextEditor
TextEditor
4251
return (
TextEditor
)this.Target;