4 instantiations of TextEditor
PresentationFramework (4)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
994
_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)
1026
_textEditor = new
TextEditor
(textContainer, this, false)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1493
_textEditor = new
TextEditor
(_textContainer, this, true);
420 references to TextEditor
PresentationFramework (420)
MS\Internal\Documents\DocumentGrid.cs (1)
3068
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)
1484
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)
1569
TextEditor
textEditor = TextEditor;
1870
private
TextEditor
TextEditor
1874
TextEditor
textEditor = null;
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
120
ClearValue(
TextEditor
.PageHeightProperty);
1024
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
1342
TextEditor
.RegisterCommandHandlers(typeof(FlowDocumentScrollViewer), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1819
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);
1024
ITextView textview =
TextEditor
.GetTextView(_renderScope);
1265
private
TextEditor
_textEditor;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
723
internal
TextEditor
TextEditor
1477
TextEditor
.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1650
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); }
1539
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1541
position = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, snapToText);
1579
if (
TextEditor
.GetTextView(this.RenderScope).Validate(position))
1582
rect =
TextEditor
.GetTextView(this.RenderScope).GetRectangleFromTextPosition(position);
1619
SetValue(
TextEditor
.PageHeightProperty, this.ScrollViewer.ViewportHeight);
1639
ClearValue(
TextEditor
.PageHeightProperty);
1824
internal
TextEditor
TextEditor
2065
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
2229
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
1228
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)
2000
private
TextEditor
_textEditor;
System\windows\Documents\TextEditor.cs (34)
87
_uiScope.SetValue(
TextEditor
.InstanceProperty, this);
204
_uiScope.ClearValue(
TextEditor
.InstanceProperty);
303
TextEditor
textEditor =
TextEditor
._GetTextEditor(frameworkElement);
779
typeof(
TextEditor
),
799
typeof(
TextEditor
),
809
typeof(
TextEditor
),
968
return _uiScope == null ? false : (bool)_uiScope.GetValue(
TextEditor
.IsReadOnlyProperty);
1023
return _uiScope == null ? true : (bool)_uiScope.GetValue(
TextEditor
.AllowOvertypeProperty);
1125
internal static
TextEditor
_GetTextEditor(object element)
1127
return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as
TextEditor
) : null;
1632
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1655
TextEditor
This =
TextEditor
._GetTextEditor(frameworkElement);
1686
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1741
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1781
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1824
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1850
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1876
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1896
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1925
public TextEditorShutDownListener(
TextEditor
target)
1932
TextEditor
editor = (
TextEditor
)target;
1957
"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)
150
TextEditor
This =
TextEditor
._GetTextEditor(sender);
234
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseDownPoint))
271
TextEditor
This =
TextEditor
._GetTextEditor(sender);
303
TextEditor
This =
TextEditor
._GetTextEditor(sender);
384
TextEditor
This =
TextEditor
._GetTextEditor(sender);
430
private static void OnMouseMoveWithoutFocus(
TextEditor
This, MouseEventArgs e)
437
private static void OnMouseMoveWithFocus(
TextEditor
This, MouseEventArgs e)
447
TextEditor
._ThreadLocalStore.PureControlShift = false;
594
private static bool MoveFocusToUiScope(
TextEditor
This)
671
private static void UpdateCursor(
TextEditor
This, Point mouseMovePoint)
679
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseMovePoint))
714
private static UIElement GetUIElementWhenMouseOver(
TextEditor
This, Point mouseMovePoint)
758
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)
155
threadLocalStore =
TextEditor
._ThreadLocalStore;
188
if (
TextEditor
._ThreadLocalStore.HideCursor)
190
TextEditor
._ThreadLocalStore.HideCursor = false;
251
TextEditor
This = richTextBox.TextEditor;
283
TextEditor
This =
TextEditor
._GetTextEditor(sender);
299
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
329
TextEditor
This =
TextEditor
._GetTextEditor(sender);
341
if (
TextEditor
._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0)
358
TextEditor
This =
TextEditor
._GetTextEditor(sender);
427
TextEditor
This =
TextEditor
._GetTextEditor(target);
451
TextEditor
This =
TextEditor
._GetTextEditor(target);
469
TextEditor
This =
TextEditor
._GetTextEditor(target);
523
TextEditor
This =
TextEditor
._GetTextEditor(sender);
576
TextEditor
This =
TextEditor
._GetTextEditor(sender);
730
private static bool HandleDeleteWhenStructuralBoundaryIsCrossed(
TextEditor
This, TextPointer position, TextPointer deletePosition)
891
TextEditor
This =
TextEditor
._GetTextEditor(sender);
949
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1024
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1044
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1090
private static bool HandleEnterBreakForRichText(
TextEditor
This, ICommand command)
1139
private static bool HandleEnterBreakForPlainText(
TextEditor
This)
1161
private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(
TextEditor
This, ICommand command)
1214
private static void OnFlowDirectionCommand(
TextEditor
This, Key key)
1265
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1305
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1321
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1335
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1366
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1397
private static bool HandleTabInTables(
TextEditor
This, LogicalDirection direction)
1518
private static void DoTextInput(
TextEditor
This, string textData, bool isInsertKeyToggled, bool acceptControlCharacters)
1582
private static void ScheduleInput(
TextEditor
This, InputItem item)
1594
threadLocalStore =
TextEditor
._ThreadLocalStore;
1610
private static bool IsMouseInputPending(
TextEditor
This)
1632
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1634
Invariant.Assert(This is
TextEditor
);
1639
TextEditorTyping._FlushPendingInputItems((
TextEditor
)This);
1661
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1679
internal InputItem(
TextEditor
textEditor)
1688
TextEditor
_textEditor;
1690
protected
TextEditor
TextEditor
1703
internal TextInputItem(
TextEditor
textEditor, string text, bool isInsertKeyToggled)
1731
internal KeyUpInputItem(
TextEditor
textEditor, Key key, ModifierKeys modifiers)
1790
private static void OpenTypingUndoUnit(
TextEditor
This)
1815
private static void CloseTypingUndoUnit(
TextEditor
This, UndoCloseAction closeAction)
1841
TextEditor
This =
TextEditor
._GetTextEditor(target);
1871
private static void HideCursor(
TextEditor
This)
1873
if (!
TextEditor
._ThreadLocalStore.HideCursor &&
1877
TextEditor
._ThreadLocalStore.HideCursor = true;
1884
private static void UpdateHyperlinkCursor(
TextEditor
This)
System\windows\Documents\TextSelection.cs (14)
39
internal TextSelection(
TextEditor
textEditor)
1209
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1616
internal static Brush GetCaretBrush(
TextEditor
textEditor)
1776
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1786
if (
TextEditor
._ThreadLocalStore.FocusedTextSelection == this)
1788
TextEditor
._ThreadLocalStore.FocusedTextSelection = null;
2033
private static void RefreshCaret(
TextEditor
textEditor, ITextSelection textSelection)
2077
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2359
private static double CalculateScrollToOriginPosition(
TextEditor
textEditor, ITextPointer caretPosition, double horizontalCaretPosition)
2417
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2432
TextEditor
._ThreadLocalStore.Bidi = true;
2436
TextEditor
._ThreadLocalStore.Bidi = false;
2621
TextEditor
ITextSelection.TextEditor
2720
private
TextEditor
_textEditor;
System\Windows\Documents\TextServicesHost.cs (2)
189
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
386
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
System\Windows\Documents\TextStore.cs (7)
50
internal TextStore(
TextEditor
textEditor)
2044
internal static FrameworkTextComposition CreateComposition(
TextEditor
editor, object owner)
2315
TextEditor
textEditor = this.TextEditor;
4130
private
TextEditor
TextEditor
4144
return ((bool)this.UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || TextEditor.IsReadOnly);
4236
internal
TextEditor
TextEditor
4242
return (
TextEditor
)this.Target;