53 references to TextContainer
PresentationFramework (53)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
100
textContainer = textEditor.
TextContainer
;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
967
_textEditor.
TextContainer
.TextView = null;
System\Windows\Controls\PasswordBox.cs (1)
855
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1424
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
1425
Invariant.Assert(_textEditor.
TextContainer
.TextSelection == _textEditor.Selection);
System\Windows\Controls\RichTextBox.cs (1)
121
Invariant.Assert(this.TextEditor.
TextContainer
== this.TextContainer);
System\Windows\Documents\ImmComposition.cs (8)
101
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
124
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
133
_editor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
1663
edge = _editor.
TextContainer
.Start.GetOffsetToPosition(positionCurrent);
1664
int startComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_startComposition);
1665
int endComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_endComposition);
1753
parent = _editor.
TextContainer
.Parent;
1784
parent = _editor.
TextContainer
.Parent;
System\Windows\Documents\Speller.cs (12)
42
_textEditor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
45
if (_textEditor.
TextContainer
.SymbolCount > 0)
70
_textEditor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
82
_textEditor.
TextContainer
.Highlights.RemoveLayer(_highlightLayer);
229
StaticTextPointer pointer = _textEditor.
TextContainer
.CreateStaticPointerAtOffset(0);
293
_statusTable.MarkDirtyRange(_textEditor.
TextContainer
.Start, _textEditor.
TextContainer
.End);
295
if (_textEditor.
TextContainer
.SymbolCount > 0)
460
_statusTable = new SpellerStatusTable(_textEditor.
TextContainer
.Start, _highlightLayer);
462
_textEditor.
TextContainer
.Highlights.AddLayer(_highlightLayer);
499
Invariant.Assert(sender == _textEditor.
TextContainer
);
624
searchStart = _textEditor.
TextContainer
.Start;
System\windows\Documents\TextEditor.cs (5)
81
TextContainer
.Changed += new TextContainerChangedEventHandler(OnTextContainerChanged);
1134
if (this.
TextContainer
is TextContainer)
1136
undoManager = ((TextContainer)this.
TextContainer
).UndoManager;
1176
ITextContainer textContainer = this.
TextContainer
;
1504
cursorPosition = this.
TextContainer
.End;
System\windows\Documents\TextEditorMouse.cs (2)
565
snappedCursorPosition = This.
TextContainer
.End;
757
DependencyObject textContainerOwner = textEditor.
TextContainer
.Parent;
System\windows\Documents\TextEditorSelection.cs (10)
157
This.Selection.Select(This.
TextContainer
.Start, This.
TextContainer
.End);
629
targetPosition = This.
TextContainer
.End;
743
targetPosition = This.
TextContainer
.Start;
886
This.Selection.SetCaretToPosition(This.
TextContainer
.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
915
This.Selection.SetCaretToPosition(This.
TextContainer
.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1457
targetPosition = This.
TextContainer
.End;
1553
targetPosition = This.
TextContainer
.Start;
1719
ExtendSelectionAndBringIntoView(This.
TextContainer
.Start, This);
1747
ExtendSelectionAndBringIntoView(This.
TextContainer
.End, This);
System\windows\Documents\TextEditorTyping.cs (2)
1221
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
1237
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\windows\Documents\TextSelection.cs (2)
40
: base(textEditor.
TextContainer
.Start, textEditor.
TextContainer
.Start)
System\Windows\Documents\TextStore.cs (6)
2088
get { return this.TextEditor.
TextContainer
; }
2320
UndoManager undoManager = UndoManager.GetUndoManager(textEditor.
TextContainer
.Parent);
2379
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2380
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);
2398
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2399
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);