4 instantiations of TextEditor
PresentationFramework (4)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
987
_textEditor = new
TextEditor
(Document.StructuralCache.TextContainer, this, false)
System\Windows\Controls\PasswordBox.cs (1)
870
_textEditor = new
TextEditor
(_textContainer, this, true);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1016
_textEditor = new
TextEditor
(textContainer, this, false)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1438
_textEditor = new
TextEditor
(_textContainer, this, true);
420 references to TextEditor
PresentationFramework (420)
MS\Internal\Documents\DocumentGrid.cs (1)
3055
private
TextEditor
TextEditor
MS\Internal\Documents\DocumentViewerHelper.cs (1)
75
internal static ITextRange Find(FindToolBar findToolBar,
TextEditor
textEditor, ITextView textView, ITextView masterPageTextView)
MS\Internal\Documents\TextBoxLine.cs (1)
448
var
textEditor = position.TextContainer.TextSelection?.TextEditor;
MS\Internal\Helper.cs (1)
1477
System.Windows.Documents.
TextEditor
te = tbb.TextEditor;
System\Windows\Annotations\AnnotationHelper.cs (1)
1047
return viewer == null ? null :
TextEditor
.GetTextSelection(viewer);
System\Windows\Controls\FlowDocumentReader.cs (3)
1544
TextEditor
textEditor = TextEditor;
1833
private
TextEditor
TextEditor
1837
TextEditor
textEditor = null;
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
119
ClearValue(
TextEditor
.PageHeightProperty);
1017
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
1326
TextEditor
.RegisterCommandHandlers(typeof(FlowDocumentScrollViewer), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1776
private
TextEditor
_textEditor; // Text editor (enables text selection)
System\Windows\Controls\PasswordBox.cs (3)
833
TextEditor
.RegisterCommandHandlers(typeof(PasswordBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1020
ITextView textview =
TextEditor
.GetTextView(_renderScope);
1255
private
TextEditor
_textEditor;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
719
internal
TextEditor
TextEditor
1458
TextEditor
.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1631
private
TextEditor
_textEditor; // TextEditor associated with DocumentViewer.
System\Windows\Controls\Primitives\TextBoxBase.cs (12)
426
TextEditor
.IsReadOnlyProperty.AddOwner(
438
get { return (bool) GetValue(
TextEditor
.IsReadOnlyProperty); }
439
set { SetValue(
TextEditor
.IsReadOnlyProperty, value); }
1481
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1483
position = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, snapToText);
1521
if (
TextEditor
.GetTextView(this.RenderScope).Validate(position))
1524
rect =
TextEditor
.GetTextView(this.RenderScope).GetRectangleFromTextPosition(position);
1558
SetValue(
TextEditor
.PageHeightProperty, this.ScrollViewer.ViewportHeight);
1578
ClearValue(
TextEditor
.PageHeightProperty);
1757
internal
TextEditor
TextEditor
1995
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
2159
private
TextEditor
_textEditor;
System\Windows\Controls\RichTextBox.cs (1)
93
TextEditor
.RegisterCommandHandlers(typeof(RichTextBox), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
System\Windows\Controls\SpellCheck.cs (4)
195
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
215
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
System\Windows\Controls\TextBox.cs (7)
85
TextEditor
.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1440
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1442
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1443
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1469
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1471
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1472
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
System\windows\Documents\CaretElement.cs (6)
43
internal CaretElement(
TextEditor
textEditor, bool isBlinkEnabled) : base(textEditor.TextView.RenderScope)
635
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
771
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
772
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).CaretElement;
781
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).TextView.RenderScope as FrameworkElement; // TextBlock / TextFlow
1221
private readonly
TextEditor
_textEditor;
System\Windows\Documents\ImmComposition.cs (6)
89
internal void OnDetach(
TextEditor
editor)
109
internal void OnGotFocus(
TextEditor
editor)
643
view =
TextEditor
.GetTextView(RenderScope);
1627
view =
TextEditor
.GetTextView(RenderScope);
1860
return ((bool)UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || _editor.IsReadOnly);
1902
private
TextEditor
_editor;
System\Windows\Documents\ITextSelection.cs (1)
149
TextEditor
TextEditor { get; }
System\Windows\Documents\Speller.cs (2)
37
internal Speller(
TextEditor
textEditor)
1996
private
TextEditor
_textEditor;
System\windows\Documents\TextEditor.cs (34)
86
_uiScope.SetValue(
TextEditor
.InstanceProperty, this);
203
_uiScope.ClearValue(
TextEditor
.InstanceProperty);
299
TextEditor
textEditor =
TextEditor
._GetTextEditor(frameworkElement);
775
typeof(
TextEditor
),
795
typeof(
TextEditor
),
805
typeof(
TextEditor
),
964
return _uiScope == null ? false : (bool)_uiScope.GetValue(
TextEditor
.IsReadOnlyProperty);
1019
return _uiScope == null ? true : (bool)_uiScope.GetValue(
TextEditor
.AllowOvertypeProperty);
1121
internal static
TextEditor
_GetTextEditor(object element)
1123
return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as
TextEditor
) : null;
1616
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1639
TextEditor
This =
TextEditor
._GetTextEditor(frameworkElement);
1670
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1722
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1759
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1802
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1828
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1854
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1874
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1903
public TextEditorShutDownListener(
TextEditor
target)
1910
TextEditor
editor = (
TextEditor
)target;
1935
"Instance", typeof(
TextEditor
), typeof(
TextEditor
), //
System\windows\Documents\TextEditorCharacters.cs (35)
56
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue)
61
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs)
66
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs, PropertyValueAction propertyValueAction)
119
TextEditor
This =
TextEditor
._GetTextEditor(target);
164
TextEditor
This =
TextEditor
._GetTextEditor(target);
184
TextEditor
This =
TextEditor
._GetTextEditor(target);
207
TextEditor
This =
TextEditor
._GetTextEditor(target);
236
TextEditor
This =
TextEditor
._GetTextEditor(sender);
255
TextEditor
This =
TextEditor
._GetTextEditor(sender);
283
TextEditor
This =
TextEditor
._GetTextEditor(target);
325
TextEditor
This =
TextEditor
._GetTextEditor(target);
370
TextEditor
This =
TextEditor
._GetTextEditor(target);
383
TextEditor
This =
TextEditor
._GetTextEditor(target);
396
TextEditor
This =
TextEditor
._GetTextEditor(target);
409
TextEditor
This =
TextEditor
._GetTextEditor(target);
418
TextEditor
This =
TextEditor
._GetTextEditor(target);
433
TextEditor
This =
TextEditor
._GetTextEditor(target);
442
TextEditor
This =
TextEditor
._GetTextEditor(target);
459
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorContextMenu.cs (9)
45
TextEditor
This =
TextEditor
._GetTextEditor(sender);
243
TextEditor
This =
TextEditor
._GetTextEditor(placementTarget);
258
private static void GetClippedPositionOffsets(
TextEditor
This, ITextPointer position, LogicalDirection direction,
434
internal void AddMenuItems(
TextEditor
textEditor)
475
private bool AddSpellerItems(
TextEditor
textEditor)
546
private bool AddReconversionItems(
TextEditor
textEditor)
609
private bool AddClipboardItems(
TextEditor
textEditor)
System\windows\Documents\TextEditorCopyPaste.cs (26)
59
internal static DataObject _CreateDataObject(
TextEditor
This, bool isDragDrop)
173
internal static bool _DoPaste(
TextEditor
This, IDataObject dataObject, bool isDragDrop)
225
internal static string GetPasteApplyFormat(
TextEditor
This, IDataObject dataObject)
270
internal static void Cut(
TextEditor
This, bool userInitiated)
318
internal static void Copy(
TextEditor
This, bool userInitiated)
352
internal static void Paste(
TextEditor
This)
481
TextEditor
This =
TextEditor
._GetTextEditor(target);
505
TextEditor
This =
TextEditor
._GetTextEditor(target);
526
TextEditor
This =
TextEditor
._GetTextEditor(target);
551
TextEditor
This =
TextEditor
._GetTextEditor(target);
572
TextEditor
This =
TextEditor
._GetTextEditor(target);
602
TextEditor
This =
TextEditor
._GetTextEditor(target);
617
TextEditor
This =
TextEditor
._GetTextEditor(target);
639
TextEditor
This =
TextEditor
._GetTextEditor(target);
671
private static bool PasteContentData(
TextEditor
This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply)
873
private static bool PasteTextElement(
TextEditor
This, TextElement sectionOrSpan)
901
private static bool PasteXaml(
TextEditor
This, string pasteXaml)
935
private static bool PastePlainText(
TextEditor
This, string pastedText)
System\windows\Documents\TextEditorDragDrop.cs (17)
69
internal _DragDropProcess(
TextEditor
textEditor)
366
double pageHeight = (double)_textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
673
private
TextEditor
_textEditor;
699
TextEditor
This =
TextEditor
._GetTextEditor(sender);
732
TextEditor
This =
TextEditor
._GetTextEditor(sender);
760
TextEditor
This =
TextEditor
._GetTextEditor(sender);
808
TextEditor
This =
TextEditor
._GetTextEditor(sender);
855
TextEditor
This =
TextEditor
._GetTextEditor(sender);
884
TextEditor
This =
TextEditor
._GetTextEditor(sender);
912
TextEditor
This =
TextEditor
._GetTextEditor(sender);
System\windows\Documents\TextEditorLists.cs (9)
37
internal static void DecreaseIndentation(
TextEditor
This)
63
private static
TextEditor
IsEnabledNotReadOnlyIsTextSegment(object sender)
65
TextEditor
This =
TextEditor
._GetTextEditor(sender);
79
TextEditor
This = IsEnabledNotReadOnlyIsTextSegment(sender);
94
TextEditor
This =
TextEditor
._GetTextEditor(target);
107
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorMouse.cs (19)
61
internal static void SetCaretPositionOnMouseEvent(
TextEditor
This, Point mouseDownPoint, MouseButton changedButton, int clickCount)
121
internal static bool IsPointWithinInteractiveArea(
TextEditor
textEditor, Point point)
146
TextEditor
This =
TextEditor
._GetTextEditor(sender);
230
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseDownPoint))
267
TextEditor
This =
TextEditor
._GetTextEditor(sender);
299
TextEditor
This =
TextEditor
._GetTextEditor(sender);
380
TextEditor
This =
TextEditor
._GetTextEditor(sender);
426
private static void OnMouseMoveWithoutFocus(
TextEditor
This, MouseEventArgs e)
433
private static void OnMouseMoveWithFocus(
TextEditor
This, MouseEventArgs e)
443
TextEditor
._ThreadLocalStore.PureControlShift = false;
590
private static bool MoveFocusToUiScope(
TextEditor
This)
667
private static void UpdateCursor(
TextEditor
This, Point mouseMovePoint)
675
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseMovePoint))
710
private static UIElement GetUIElementWhenMouseOver(
TextEditor
This, Point mouseMovePoint)
754
private static bool IsPointWithinRenderScope(
TextEditor
textEditor, Point point)
System\windows\Documents\TextEditorParagraphs.cs (14)
64
TextEditor
This =
TextEditor
._GetTextEditor(sender);
79
TextEditor
This =
TextEditor
._GetTextEditor(sender);
94
TextEditor
This =
TextEditor
._GetTextEditor(sender);
109
TextEditor
This =
TextEditor
._GetTextEditor(sender);
139
TextEditor
This =
TextEditor
._GetTextEditor(sender);
149
TextEditor
This =
TextEditor
._GetTextEditor(sender);
167
TextEditor
This =
TextEditor
._GetTextEditor(sender);
System\windows\Documents\TextEditorSelection.cs (91)
89
internal static void _ClearSuggestedX(
TextEditor
This)
145
TextEditor
This =
TextEditor
._GetTextEditor(target);
180
TextEditor
This =
TextEditor
._GetTextEditor(target);
196
TextEditor
This =
TextEditor
._GetTextEditor(target);
212
TextEditor
This =
TextEditor
._GetTextEditor(target);
228
TextEditor
This =
TextEditor
._GetTextEditor(target);
242
TextEditor
This =
TextEditor
._GetTextEditor(sender);
334
TextEditor
This =
TextEditor
._GetTextEditor(sender);
424
TextEditor
This =
TextEditor
._GetTextEditor(sender);
479
TextEditor
This =
TextEditor
._GetTextEditor(sender);
533
TextEditor
This =
TextEditor
._GetTextEditor(sender);
574
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
653
TextEditor
This =
TextEditor
._GetTextEditor(sender);
691
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
770
TextEditor
This =
TextEditor
._GetTextEditor(target);
822
TextEditor
This =
TextEditor
._GetTextEditor(target);
874
TextEditor
This =
TextEditor
._GetTextEditor(target);
902
TextEditor
This =
TextEditor
._GetTextEditor(target);
938
TextEditor
This =
TextEditor
._GetTextEditor(target);
954
TextEditor
This =
TextEditor
._GetTextEditor(target);
969
TextEditor
This =
TextEditor
._GetTextEditor(target);
985
TextEditor
This =
TextEditor
._GetTextEditor(target);
999
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1105
private static void AdjustMovingPositionForSelectDownByLine(
TextEditor
This, ITextPointer newMovingPosition, ITextPointer originalMovingPosition, double suggestedX)
1171
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1295
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1336
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1380
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1402
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1476
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1498
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1574
TextEditor
This =
TextEditor
._GetTextEditor(target);
1619
TextEditor
This =
TextEditor
._GetTextEditor(target);
1707
TextEditor
This =
TextEditor
._GetTextEditor(target);
1735
TextEditor
This =
TextEditor
._GetTextEditor(target);
1769
TextEditor
This = e.UserState as
TextEditor
;
1799
TextEditor
This = e.UserState as
TextEditor
;
1824
TextEditor
This;
1831
This = e.UserState as
TextEditor
;
1887
TextEditor
This;
1894
This = e.UserState as
TextEditor
;
1954
TextEditor
This =
TextEditor
._GetTextEditor(target);
1969
TextEditor
This =
TextEditor
._GetTextEditor(target);
2005
private static void ClearSpringloadFormatting(
TextEditor
This)
2016
private static bool IsFlowDirectionRightToLeftThenTopToBottom(
TextEditor
textEditor)
2036
private static void MoveToCharacterLogicalDirection(
TextEditor
textEditor, LogicalDirection direction, bool extend)
2097
private static void NavigateWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2172
private static void ExtendWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2218
private static Double GetSuggestedX(
TextEditor
This, out ITextPointer innerMovingPosition)
2266
private static Double GetSuggestedYFromPosition(
TextEditor
This, ITextPointer position)
2282
private static void UpdateSuggestedXOnColumnOrPageBoundary(
TextEditor
This, double newSuggestedX)
2300
private static ITextPointer GetMovingPositionInner(
TextEditor
This)
2330
private static ITextPointer GetStartInner(
TextEditor
This)
2342
private static ITextPointer GetEndInner(
TextEditor
This)
2369
private static void ExtendSelectionAndBringIntoView(ITextPointer position,
TextEditor
textEditor)
2375
private static void BringIntoView(ITextPointer position,
TextEditor
textEditor)
2377
double pageHeight = (double)textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
2391
private static void AdjustCaretAtTableRowEnd(
TextEditor
This)
System\windows\Documents\TextEditorSpelling.cs (9)
35
internal static SpellingError GetSpellingErrorAtPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
41
internal static SpellingError GetSpellingErrorAtSelection(
TextEditor
This)
100
internal static ITextPointer GetNextSpellingErrorPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
121
TextEditor
This =
TextEditor
._GetTextEditor(target);
223
TextEditor
This =
TextEditor
._GetTextEditor(target);
240
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorTables.cs (4)
53
TextEditor
This =
TextEditor
._GetTextEditor(target);
109
TextEditor
This =
TextEditor
._GetTextEditor(target);
System\windows\Documents\TextEditorTyping.cs (73)
87
internal static void _AddInputLanguageChangedEventHandler(
TextEditor
This)
95
threadLocalStore =
TextEditor
._ThreadLocalStore;
114
internal static void _RemoveInputLanguageChangedEventHandler(
TextEditor
This)
118
threadLocalStore =
TextEditor
._ThreadLocalStore;
138
internal static void _BreakTypingSequence(
TextEditor
This)
145
internal static void _FlushPendingInputItems(
TextEditor
This)
151
threadLocalStore =
TextEditor
._ThreadLocalStore;
184
if (
TextEditor
._ThreadLocalStore.HideCursor)
186
TextEditor
._ThreadLocalStore.HideCursor = false;
247
TextEditor
This = richTextBox.TextEditor;
279
TextEditor
This =
TextEditor
._GetTextEditor(sender);
295
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
325
TextEditor
This =
TextEditor
._GetTextEditor(sender);
337
if (
TextEditor
._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0)
354
TextEditor
This =
TextEditor
._GetTextEditor(sender);
420
TextEditor
This =
TextEditor
._GetTextEditor(target);
444
TextEditor
This =
TextEditor
._GetTextEditor(target);
459
TextEditor
This =
TextEditor
._GetTextEditor(target);
513
TextEditor
This =
TextEditor
._GetTextEditor(sender);
566
TextEditor
This =
TextEditor
._GetTextEditor(sender);
720
private static bool HandleDeleteWhenStructuralBoundaryIsCrossed(
TextEditor
This, TextPointer position, TextPointer deletePosition)
881
TextEditor
This =
TextEditor
._GetTextEditor(sender);
939
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1014
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1034
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1080
private static bool HandleEnterBreakForRichText(
TextEditor
This, ICommand command)
1129
private static bool HandleEnterBreakForPlainText(
TextEditor
This)
1151
private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(
TextEditor
This, ICommand command)
1204
private static void OnFlowDirectionCommand(
TextEditor
This, Key key)
1255
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1292
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1308
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1322
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1353
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1384
private static bool HandleTabInTables(
TextEditor
This, LogicalDirection direction)
1505
private static void DoTextInput(
TextEditor
This, string textData, bool isInsertKeyToggled, bool acceptControlCharacters)
1569
private static void ScheduleInput(
TextEditor
This, InputItem item)
1581
threadLocalStore =
TextEditor
._ThreadLocalStore;
1597
private static bool IsMouseInputPending(
TextEditor
This)
1619
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1621
Invariant.Assert(This is
TextEditor
);
1626
TextEditorTyping._FlushPendingInputItems((
TextEditor
)This);
1648
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1666
internal InputItem(
TextEditor
textEditor)
1675
private
TextEditor
_textEditor;
1677
protected
TextEditor
TextEditor
1690
internal TextInputItem(
TextEditor
textEditor, string text, bool isInsertKeyToggled)
1718
internal KeyUpInputItem(
TextEditor
textEditor, Key key, ModifierKeys modifiers)
1777
private static void OpenTypingUndoUnit(
TextEditor
This)
1802
private static void CloseTypingUndoUnit(
TextEditor
This, UndoCloseAction closeAction)
1828
TextEditor
This =
TextEditor
._GetTextEditor(target);
1858
private static void HideCursor(
TextEditor
This)
1860
if (!
TextEditor
._ThreadLocalStore.HideCursor &&
1864
TextEditor
._ThreadLocalStore.HideCursor = true;
1871
private static void UpdateHyperlinkCursor(
TextEditor
This)
System\windows\Documents\TextSelection.cs (14)
38
internal TextSelection(
TextEditor
textEditor)
1193
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1600
internal static Brush GetCaretBrush(
TextEditor
textEditor)
1760
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1770
if (
TextEditor
._ThreadLocalStore.FocusedTextSelection == this)
1772
TextEditor
._ThreadLocalStore.FocusedTextSelection = null;
2017
private static void RefreshCaret(
TextEditor
textEditor, ITextSelection textSelection)
2061
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2343
private static double CalculateScrollToOriginPosition(
TextEditor
textEditor, ITextPointer caretPosition, double horizontalCaretPosition)
2401
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2416
TextEditor
._ThreadLocalStore.Bidi = true;
2420
TextEditor
._ThreadLocalStore.Bidi = false;
2605
TextEditor
ITextSelection.TextEditor
2704
private
TextEditor
_textEditor;
System\Windows\Documents\TextServicesHost.cs (2)
185
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
382
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
System\Windows\Documents\TextStore.cs (7)
49
internal TextStore(
TextEditor
textEditor)
2037
internal static FrameworkTextComposition CreateComposition(
TextEditor
editor, object owner)
2308
TextEditor
textEditor = this.TextEditor;
4120
private
TextEditor
TextEditor
4134
return ((bool)this.UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || TextEditor.IsReadOnly);
4226
internal
TextEditor
TextEditor
4232
return (
TextEditor
)this.Target;