4 instantiations of TextEditor
PresentationFramework (4)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1003
_textEditor = new
TextEditor
(Document.StructuralCache.TextContainer, this, false);
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
902
_textEditor = new
TextEditor
(_textContainer, this, true);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1054
_textEditor = new
TextEditor
(textContainer, this, false);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1526
_textEditor = new
TextEditor
(_textContainer, this, true);
420 references to TextEditor
PresentationFramework (420)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
3122
private
TextEditor
TextEditor
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
93
internal static ITextRange Find(FindToolBar findToolBar,
TextEditor
textEditor, ITextView textView, ITextView masterPageTextView)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
458
var
textEditor = position.TextContainer.TextSelection?.TextEditor;
src\Framework\MS\Internal\Helper.cs (1)
1509
System.Windows.Documents.
TextEditor
te = tbb.TextEditor;
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (1)
1070
return viewer == null ? null :
TextEditor
.GetTextSelection(viewer);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (3)
1579
TextEditor
textEditor = TextEditor;
1880
private
TextEditor
TextEditor
1884
TextEditor
textEditor = null;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
124
ClearValue(
TextEditor
.PageHeightProperty);
1031
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
1347
TextEditor
.RegisterCommandHandlers(typeof(FlowDocumentScrollViewer), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1824
private
TextEditor
_textEditor; // Text editor (enables text selection)
src\Framework\System\Windows\Controls\PasswordBox.cs (3)
865
TextEditor
.RegisterCommandHandlers(typeof(PasswordBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1057
ITextView textview =
TextEditor
.GetTextView(_renderScope);
1316
private
TextEditor
_textEditor;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
751
internal
TextEditor
TextEditor
1504
TextEditor
.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true);
1679
private
TextEditor
_textEditor; // TextEditor associated with DocumentViewer.
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (12)
457
TextEditor
.IsReadOnlyProperty.AddOwner(
469
get { return (bool) GetValue(
TextEditor
.IsReadOnlyProperty); }
470
set { SetValue(
TextEditor
.IsReadOnlyProperty, value); }
1572
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1574
position = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, snapToText);
1615
if (
TextEditor
.GetTextView(this.RenderScope).Validate(position))
1618
rect =
TextEditor
.GetTextView(this.RenderScope).GetRectangleFromTextPosition(position);
1655
SetValue(
TextEditor
.PageHeightProperty, this.ScrollViewer.ViewportHeight);
1675
ClearValue(
TextEditor
.PageHeightProperty);
1862
internal
TextEditor
TextEditor
2106
SetValue(
TextEditor
.PageHeightProperty, e.ViewportHeight);
2275
private
TextEditor
_textEditor;
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
100
TextEditor
.RegisterCommandHandlers(typeof(RichTextBox), /*acceptsRichContent:*/true, /*readOnly*/false, /*registerEventListeners*/false);
src\Framework\System\Windows\Controls\SpellCheck.cs (4)
213
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
233
TextEditor
textEditor =
TextEditor
._GetTextEditor(textBoxBase);
src\Framework\System\Windows\Controls\TextBox.cs (7)
94
TextEditor
.RegisterCommandHandlers(typeof(TextBox), /*acceptsRichContent:*/false, /*readOnly*/false, /*registerEventListeners*/false);
1438
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1440
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1441
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.CreatePointer(textPointer.LogicalDirection);
1467
if (
TextEditor
.GetTextView(this.RenderScope).Validate(point))
1469
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetTextPositionFromPoint(point, /* snap to text */ true);
1470
textPointer = (TextPointer)
TextEditor
.GetTextView(this.RenderScope).GetLineRange(textPointer).End.CreatePointer(textPointer.LogicalDirection);
src\Framework\System\windows\Documents\CaretElement.cs (6)
53
internal CaretElement(
TextEditor
textEditor, bool isBlinkEnabled) : base(textEditor.TextView.RenderScope)
644
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
778
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
779
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).CaretElement;
788
return ((ITextSelection)
TextEditor
._ThreadLocalStore.FocusedTextSelection).TextView.RenderScope as FrameworkElement; // TextBlock / TextFlow
1266
private readonly
TextEditor
_textEditor;
src\Framework\System\Windows\Documents\ImmComposition.cs (6)
133
internal void OnDetach(
TextEditor
editor)
159
internal void OnGotFocus(
TextEditor
editor)
763
view =
TextEditor
.GetTextView(RenderScope);
1823
view =
TextEditor
.GetTextView(RenderScope);
2072
return ((bool)UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || _editor.IsReadOnly);
2115
private
TextEditor
_editor;
src\Framework\System\Windows\Documents\ITextSelection.cs (1)
160
TextEditor
TextEditor { get; }
src\Framework\System\Windows\Documents\Speller.cs (2)
43
internal Speller(
TextEditor
textEditor)
2153
private
TextEditor
_textEditor;
src\Framework\System\windows\Documents\TextEditor.cs (34)
102
_uiScope.SetValue(
TextEditor
.InstanceProperty, this);
225
_uiScope.ClearValue(
TextEditor
.InstanceProperty);
324
TextEditor
textEditor =
TextEditor
._GetTextEditor(frameworkElement);
815
typeof(
TextEditor
),
835
typeof(
TextEditor
),
845
typeof(
TextEditor
),
1004
return _uiScope == null ? false : (bool)_uiScope.GetValue(
TextEditor
.IsReadOnlyProperty);
1059
return _uiScope == null ? true : (bool)_uiScope.GetValue(
TextEditor
.AllowOvertypeProperty);
1161
internal static
TextEditor
_GetTextEditor(object element)
1163
return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as
TextEditor
) : null;
1674
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1697
TextEditor
This =
TextEditor
._GetTextEditor(frameworkElement);
1734
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1794
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1834
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1878
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1904
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)target);
1930
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1950
TextEditor
This =
TextEditor
._GetTextEditor((FrameworkElement)sender);
1985
public TextEditorShutDownListener(
TextEditor
target)
1992
TextEditor
editor = (
TextEditor
)target;
2017
"Instance", typeof(
TextEditor
), typeof(
TextEditor
), //
src\Framework\System\windows\Documents\TextEditorCharacters.cs (35)
75
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue)
80
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs)
85
internal static void _OnApplyProperty(
TextEditor
This, DependencyProperty formattingProperty, object propertyValue, bool applyToParagraphs, PropertyValueAction propertyValueAction)
138
TextEditor
This =
TextEditor
._GetTextEditor(target);
183
TextEditor
This =
TextEditor
._GetTextEditor(target);
203
TextEditor
This =
TextEditor
._GetTextEditor(target);
226
TextEditor
This =
TextEditor
._GetTextEditor(target);
255
TextEditor
This =
TextEditor
._GetTextEditor(sender);
274
TextEditor
This =
TextEditor
._GetTextEditor(sender);
302
TextEditor
This =
TextEditor
._GetTextEditor(target);
344
TextEditor
This =
TextEditor
._GetTextEditor(target);
389
TextEditor
This =
TextEditor
._GetTextEditor(target);
402
TextEditor
This =
TextEditor
._GetTextEditor(target);
415
TextEditor
This =
TextEditor
._GetTextEditor(target);
428
TextEditor
This =
TextEditor
._GetTextEditor(target);
437
TextEditor
This =
TextEditor
._GetTextEditor(target);
452
TextEditor
This =
TextEditor
._GetTextEditor(target);
461
TextEditor
This =
TextEditor
._GetTextEditor(target);
478
TextEditor
This =
TextEditor
._GetTextEditor(target);
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (9)
57
TextEditor
This =
TextEditor
._GetTextEditor(sender);
255
TextEditor
This =
TextEditor
._GetTextEditor(placementTarget);
275
private static void GetClippedPositionOffsets(
TextEditor
This, ITextPointer position, LogicalDirection direction,
455
internal void AddMenuItems(
TextEditor
textEditor, bool userInitiated)
504
private bool AddSpellerItems(
TextEditor
textEditor)
575
private bool AddReconversionItems(
TextEditor
textEditor)
642
private bool AddClipboardItems(
TextEditor
textEditor, bool userInitiated)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (26)
94
internal static DataObject _CreateDataObject(
TextEditor
This, bool isDragDrop)
240
internal static bool _DoPaste(
TextEditor
This, IDataObject dataObject, bool isDragDrop)
295
internal static string GetPasteApplyFormat(
TextEditor
This, IDataObject dataObject)
348
internal static void Cut(
TextEditor
This, bool userInitiated)
419
internal static void Copy(
TextEditor
This, bool userInitiated)
476
internal static void Paste(
TextEditor
This)
608
TextEditor
This =
TextEditor
._GetTextEditor(target);
639
TextEditor
This =
TextEditor
._GetTextEditor(target);
660
TextEditor
This =
TextEditor
._GetTextEditor(target);
692
TextEditor
This =
TextEditor
._GetTextEditor(target);
713
TextEditor
This =
TextEditor
._GetTextEditor(target);
751
TextEditor
This =
TextEditor
._GetTextEditor(target);
766
TextEditor
This =
TextEditor
._GetTextEditor(target);
788
TextEditor
This =
TextEditor
._GetTextEditor(target);
848
private static bool PasteContentData(
TextEditor
This, IDataObject dataObject, IDataObject dataObjectToApply, string formatToApply)
1061
private static bool PasteTextElement(
TextEditor
This, TextElement sectionOrSpan)
1089
private static bool PasteXaml(
TextEditor
This, string pasteXaml)
1124
private static bool PastePlainText(
TextEditor
This, string pastedText)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (17)
90
internal _DragDropProcess(
TextEditor
textEditor)
396
double pageHeight = (double)_textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
719
private
TextEditor
_textEditor;
745
TextEditor
This =
TextEditor
._GetTextEditor(sender);
778
TextEditor
This =
TextEditor
._GetTextEditor(sender);
806
TextEditor
This =
TextEditor
._GetTextEditor(sender);
854
TextEditor
This =
TextEditor
._GetTextEditor(sender);
901
TextEditor
This =
TextEditor
._GetTextEditor(sender);
931
TextEditor
This =
TextEditor
._GetTextEditor(sender);
959
TextEditor
This =
TextEditor
._GetTextEditor(sender);
src\Framework\System\windows\Documents\TextEditorLists.cs (9)
56
internal static void DecreaseIndentation(
TextEditor
This)
82
private static
TextEditor
IsEnabledNotReadOnlyIsTextSegment(object sender)
84
TextEditor
This =
TextEditor
._GetTextEditor(sender);
98
TextEditor
This = IsEnabledNotReadOnlyIsTextSegment(sender);
113
TextEditor
This =
TextEditor
._GetTextEditor(target);
126
TextEditor
This =
TextEditor
._GetTextEditor(target);
src\Framework\System\windows\Documents\TextEditorMouse.cs (19)
78
internal static void SetCaretPositionOnMouseEvent(
TextEditor
This, Point mouseDownPoint, MouseButton changedButton, int clickCount)
138
internal static bool IsPointWithinInteractiveArea(
TextEditor
textEditor, Point point)
166
TextEditor
This =
TextEditor
._GetTextEditor(sender);
250
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseDownPoint))
287
TextEditor
This =
TextEditor
._GetTextEditor(sender);
319
TextEditor
This =
TextEditor
._GetTextEditor(sender);
400
TextEditor
This =
TextEditor
._GetTextEditor(sender);
446
private static void OnMouseMoveWithoutFocus(
TextEditor
This, MouseEventArgs e)
453
private static void OnMouseMoveWithFocus(
TextEditor
This, MouseEventArgs e)
463
TextEditor
._ThreadLocalStore.PureControlShift = false;
610
private static bool MoveFocusToUiScope(
TextEditor
This)
686
private static void UpdateCursor(
TextEditor
This, Point mouseMovePoint)
694
if (
TextEditor
.IsTableEditingEnabled && TextRangeEditTables.TableBorderHitTest(This.TextView, mouseMovePoint))
729
private static UIElement GetUIElementWhenMouseOver(
TextEditor
This, Point mouseMovePoint)
773
private static bool IsPointWithinRenderScope(
TextEditor
textEditor, Point point)
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (14)
83
TextEditor
This =
TextEditor
._GetTextEditor(sender);
98
TextEditor
This =
TextEditor
._GetTextEditor(sender);
113
TextEditor
This =
TextEditor
._GetTextEditor(sender);
128
TextEditor
This =
TextEditor
._GetTextEditor(sender);
158
TextEditor
This =
TextEditor
._GetTextEditor(sender);
168
TextEditor
This =
TextEditor
._GetTextEditor(sender);
186
TextEditor
This =
TextEditor
._GetTextEditor(sender);
src\Framework\System\windows\Documents\TextEditorSelection.cs (91)
113
internal static void _ClearSuggestedX(
TextEditor
This)
169
TextEditor
This =
TextEditor
._GetTextEditor(target);
204
TextEditor
This =
TextEditor
._GetTextEditor(target);
220
TextEditor
This =
TextEditor
._GetTextEditor(target);
236
TextEditor
This =
TextEditor
._GetTextEditor(target);
252
TextEditor
This =
TextEditor
._GetTextEditor(target);
266
TextEditor
This =
TextEditor
._GetTextEditor(sender);
358
TextEditor
This =
TextEditor
._GetTextEditor(sender);
448
TextEditor
This =
TextEditor
._GetTextEditor(sender);
503
TextEditor
This =
TextEditor
._GetTextEditor(sender);
557
TextEditor
This =
TextEditor
._GetTextEditor(sender);
598
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
678
TextEditor
This =
TextEditor
._GetTextEditor(sender);
716
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
795
TextEditor
This =
TextEditor
._GetTextEditor(target);
847
TextEditor
This =
TextEditor
._GetTextEditor(target);
899
TextEditor
This =
TextEditor
._GetTextEditor(target);
927
TextEditor
This =
TextEditor
._GetTextEditor(target);
963
TextEditor
This =
TextEditor
._GetTextEditor(target);
979
TextEditor
This =
TextEditor
._GetTextEditor(target);
994
TextEditor
This =
TextEditor
._GetTextEditor(target);
1010
TextEditor
This =
TextEditor
._GetTextEditor(target);
1024
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1130
private static void AdjustMovingPositionForSelectDownByLine(
TextEditor
This, ITextPointer newMovingPosition, ITextPointer originalMovingPosition, double suggestedX)
1196
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1320
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1361
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1405
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1427
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1501
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1523
double pageHeight = (double)This.UiScope.GetValue(
TextEditor
.PageHeightProperty);
1599
TextEditor
This =
TextEditor
._GetTextEditor(target);
1644
TextEditor
This =
TextEditor
._GetTextEditor(target);
1732
TextEditor
This =
TextEditor
._GetTextEditor(target);
1760
TextEditor
This =
TextEditor
._GetTextEditor(target);
1794
TextEditor
This = e.UserState as
TextEditor
;
1824
TextEditor
This = e.UserState as
TextEditor
;
1849
TextEditor
This;
1856
This = e.UserState as
TextEditor
;
1912
TextEditor
This;
1919
This = e.UserState as
TextEditor
;
1979
TextEditor
This =
TextEditor
._GetTextEditor(target);
1994
TextEditor
This =
TextEditor
._GetTextEditor(target);
2030
private static void ClearSpringloadFormatting(
TextEditor
This)
2041
private static bool IsFlowDirectionRightToLeftThenTopToBottom(
TextEditor
textEditor)
2061
private static void MoveToCharacterLogicalDirection(
TextEditor
textEditor, LogicalDirection direction, bool extend)
2122
private static void NavigateWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2197
private static void ExtendWordLogicalDirection(
TextEditor
textEditor, LogicalDirection direction)
2243
private static Double GetSuggestedX(
TextEditor
This, out ITextPointer innerMovingPosition)
2291
private static Double GetSuggestedYFromPosition(
TextEditor
This, ITextPointer position)
2307
private static void UpdateSuggestedXOnColumnOrPageBoundary(
TextEditor
This, double newSuggestedX)
2325
private static ITextPointer GetMovingPositionInner(
TextEditor
This)
2355
private static ITextPointer GetStartInner(
TextEditor
This)
2367
private static ITextPointer GetEndInner(
TextEditor
This)
2394
private static void ExtendSelectionAndBringIntoView(ITextPointer position,
TextEditor
textEditor)
2400
private static void BringIntoView(ITextPointer position,
TextEditor
textEditor)
2402
double pageHeight = (double)textEditor.UiScope.GetValue(
TextEditor
.PageHeightProperty);
2416
private static void AdjustCaretAtTableRowEnd(
TextEditor
This)
src\Framework\System\windows\Documents\TextEditorSpelling.cs (9)
39
internal static SpellingError GetSpellingErrorAtPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
45
internal static SpellingError GetSpellingErrorAtSelection(
TextEditor
This)
104
internal static ITextPointer GetNextSpellingErrorPosition(
TextEditor
This, ITextPointer position, LogicalDirection direction)
125
TextEditor
This =
TextEditor
._GetTextEditor(target);
227
TextEditor
This =
TextEditor
._GetTextEditor(target);
244
TextEditor
This =
TextEditor
._GetTextEditor(target);
src\Framework\System\windows\Documents\TextEditorTables.cs (4)
73
TextEditor
This =
TextEditor
._GetTextEditor(target);
129
TextEditor
This =
TextEditor
._GetTextEditor(target);
src\Framework\System\windows\Documents\TextEditorTyping.cs (73)
101
internal static void _AddInputLanguageChangedEventHandler(
TextEditor
This)
109
threadLocalStore =
TextEditor
._ThreadLocalStore;
128
internal static void _RemoveInputLanguageChangedEventHandler(
TextEditor
This)
132
threadLocalStore =
TextEditor
._ThreadLocalStore;
152
internal static void _BreakTypingSequence(
TextEditor
This)
159
internal static void _FlushPendingInputItems(
TextEditor
This)
168
threadLocalStore =
TextEditor
._ThreadLocalStore;
201
if (
TextEditor
._ThreadLocalStore.HideCursor)
203
TextEditor
._ThreadLocalStore.HideCursor = false;
264
TextEditor
This = richTextBox.TextEditor;
296
TextEditor
This =
TextEditor
._GetTextEditor(sender);
312
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
343
TextEditor
This =
TextEditor
._GetTextEditor(sender);
355
if (
TextEditor
._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0)
372
TextEditor
This =
TextEditor
._GetTextEditor(sender);
442
TextEditor
This =
TextEditor
._GetTextEditor(target);
466
TextEditor
This =
TextEditor
._GetTextEditor(target);
494
TextEditor
This =
TextEditor
._GetTextEditor(target);
548
TextEditor
This =
TextEditor
._GetTextEditor(sender);
601
TextEditor
This =
TextEditor
._GetTextEditor(sender);
755
private static bool HandleDeleteWhenStructuralBoundaryIsCrossed(
TextEditor
This, TextPointer position, TextPointer deletePosition)
917
TextEditor
This =
TextEditor
._GetTextEditor(sender);
975
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1050
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1070
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1116
private static bool HandleEnterBreakForRichText(
TextEditor
This, ICommand command)
1165
private static bool HandleEnterBreakForPlainText(
TextEditor
This)
1187
private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(
TextEditor
This, ICommand command)
1240
private static void OnFlowDirectionCommand(
TextEditor
This, Key key)
1291
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1331
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1347
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1361
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1392
TextEditor
This =
TextEditor
._GetTextEditor(sender);
1423
private static bool HandleTabInTables(
TextEditor
This, LogicalDirection direction)
1544
private static void DoTextInput(
TextEditor
This, string textData, bool isInsertKeyToggled, bool acceptControlCharacters)
1608
private static void ScheduleInput(
TextEditor
This, InputItem item)
1620
threadLocalStore =
TextEditor
._ThreadLocalStore;
1641
private static bool IsMouseInputPending(
TextEditor
This)
1671
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1673
Invariant.Assert(This is
TextEditor
);
1678
TextEditorTyping._FlushPendingInputItems((
TextEditor
)This);
1700
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1718
internal InputItem(
TextEditor
textEditor)
1727
TextEditor
_textEditor;
1729
protected
TextEditor
TextEditor
1742
internal TextInputItem(
TextEditor
textEditor, string text, bool isInsertKeyToggled)
1770
internal KeyUpInputItem(
TextEditor
textEditor, Key key, ModifierKeys modifiers)
1829
private static void OpenTypingUndoUnit(
TextEditor
This)
1854
private static void CloseTypingUndoUnit(
TextEditor
This, UndoCloseAction closeAction)
1880
TextEditor
This =
TextEditor
._GetTextEditor(target);
1910
private static void HideCursor(
TextEditor
This)
1912
if (!
TextEditor
._ThreadLocalStore.HideCursor &&
1916
TextEditor
._ThreadLocalStore.HideCursor = true;
1923
private static void UpdateHyperlinkCursor(
TextEditor
This)
src\Framework\System\windows\Documents\TextSelection.cs (14)
45
internal TextSelection(
TextEditor
textEditor)
1215
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1622
internal static Brush GetCaretBrush(
TextEditor
textEditor)
1787
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
1797
if (
TextEditor
._ThreadLocalStore.FocusedTextSelection == this)
1799
TextEditor
._ThreadLocalStore.FocusedTextSelection = null;
2044
private static void RefreshCaret(
TextEditor
textEditor, ITextSelection textSelection)
2088
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2370
private static double CalculateScrollToOriginPosition(
TextEditor
textEditor, ITextPointer caretPosition, double horizontalCaretPosition)
2428
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
2441
TextEditor
._ThreadLocalStore.Bidi = true;
2445
TextEditor
._ThreadLocalStore.Bidi = false;
2635
TextEditor
ITextSelection.TextEditor
2734
private
TextEditor
_textEditor;
src\Framework\System\Windows\Documents\TextServicesHost.cs (2)
228
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
471
TextEditorThreadLocalStore threadLocalStore =
TextEditor
._ThreadLocalStore;
src\Framework\System\Windows\Documents\TextStore.cs (7)
68
internal TextStore(
TextEditor
textEditor)
1924
internal static FrameworkTextComposition CreateComposition(
TextEditor
editor, object owner)
2190
TextEditor
textEditor = this.TextEditor;
3956
private
TextEditor
TextEditor
3970
return ((bool)this.UiScope.GetValue(
TextEditor
.IsReadOnlyProperty) || TextEditor.IsReadOnly);
4056
internal
TextEditor
TextEditor
4062
return (
TextEditor
)this.Target;