53 references to TextContainer
PresentationFramework (53)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
102
textContainer = textEditor.
TextContainer
;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
974
_textEditor.
TextContainer
.TextView = null;
System\Windows\Controls\PasswordBox.cs (1)
870
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1485
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
1486
Invariant.Assert(_textEditor.
TextContainer
.TextSelection == _textEditor.Selection);
System\Windows\Controls\RichTextBox.cs (1)
125
Invariant.Assert(this.TextEditor.
TextContainer
== this.TextContainer);
System\Windows\Documents\ImmComposition.cs (8)
117
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
140
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
149
_editor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
1684
edge = _editor.
TextContainer
.Start.GetOffsetToPosition(positionCurrent);
1685
int startComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_startComposition);
1686
int endComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_endComposition);
1774
parent = _editor.
TextContainer
.Parent;
1805
parent = _editor.
TextContainer
.Parent;
System\Windows\Documents\Speller.cs (12)
46
_textEditor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
49
if (_textEditor.
TextContainer
.SymbolCount > 0)
74
_textEditor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
86
_textEditor.
TextContainer
.Highlights.RemoveLayer(_highlightLayer);
233
StaticTextPointer pointer = _textEditor.
TextContainer
.CreateStaticPointerAtOffset(0);
297
_statusTable.MarkDirtyRange(_textEditor.
TextContainer
.Start, _textEditor.
TextContainer
.End);
299
if (_textEditor.
TextContainer
.SymbolCount > 0)
464
_statusTable = new SpellerStatusTable(_textEditor.
TextContainer
.Start, _highlightLayer);
466
_textEditor.
TextContainer
.Highlights.AddLayer(_highlightLayer);
503
Invariant.Assert(sender == _textEditor.
TextContainer
);
631
searchStart = _textEditor.
TextContainer
.Start;
System\windows\Documents\TextEditor.cs (5)
92
TextContainer
.Changed += new TextContainerChangedEventHandler(OnTextContainerChanged);
1146
if (this.
TextContainer
is TextContainer)
1148
undoManager = ((TextContainer)this.
TextContainer
).UndoManager;
1188
ITextContainer textContainer = this.
TextContainer
;
1522
cursorPosition = this.
TextContainer
.End;
System\windows\Documents\TextEditorMouse.cs (2)
582
snappedCursorPosition = This.
TextContainer
.End;
774
DependencyObject textContainerOwner = textEditor.
TextContainer
.Parent;
System\windows\Documents\TextEditorSelection.cs (10)
172
This.Selection.Select(This.
TextContainer
.Start, This.
TextContainer
.End);
644
targetPosition = This.
TextContainer
.End;
758
targetPosition = This.
TextContainer
.Start;
901
This.Selection.SetCaretToPosition(This.
TextContainer
.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
930
This.Selection.SetCaretToPosition(This.
TextContainer
.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1472
targetPosition = This.
TextContainer
.End;
1568
targetPosition = This.
TextContainer
.Start;
1734
ExtendSelectionAndBringIntoView(This.
TextContainer
.Start, This);
1762
ExtendSelectionAndBringIntoView(This.
TextContainer
.End, This);
System\windows\Documents\TextEditorTyping.cs (2)
1239
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
1255
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\windows\Documents\TextSelection.cs (2)
43
: base(textEditor.
TextContainer
.Start, textEditor.
TextContainer
.Start)
System\Windows\Documents\TextStore.cs (6)
2105
get { return this.TextEditor.
TextContainer
; }
2337
UndoManager undoManager = UndoManager.GetUndoManager(textEditor.
TextContainer
.Parent);
2396
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2397
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);
2415
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2416
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);