53 references to TextContainer
PresentationFramework (53)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
117
textContainer = textEditor.
TextContainer
;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
982
_textEditor.
TextContainer
.TextView = null;
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
886
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1511
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
1512
Invariant.Assert(_textEditor.
TextContainer
.TextSelection == _textEditor.Selection);
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
127
Invariant.Assert(this.TextEditor.
TextContainer
== this.TextContainer);
src\Framework\System\Windows\Documents\ImmComposition.cs (8)
144
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
173
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
182
_editor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
1858
edge = _editor.
TextContainer
.Start.GetOffsetToPosition(positionCurrent);
1859
int startComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_startComposition);
1860
int endComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_endComposition);
1964
parent = _editor.
TextContainer
.Parent;
1995
parent = _editor.
TextContainer
.Parent;
src\Framework\System\Windows\Documents\Speller.cs (12)
47
_textEditor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
50
if (_textEditor.
TextContainer
.SymbolCount > 0)
79
_textEditor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
91
_textEditor.
TextContainer
.Highlights.RemoveLayer(_highlightLayer);
257
StaticTextPointer pointer = _textEditor.
TextContainer
.CreateStaticPointerAtOffset(0);
321
_statusTable.MarkDirtyRange(_textEditor.
TextContainer
.Start, _textEditor.
TextContainer
.End);
323
if (_textEditor.
TextContainer
.SymbolCount > 0)
526
_statusTable = new SpellerStatusTable(_textEditor.
TextContainer
.Start, _highlightLayer);
528
_textEditor.
TextContainer
.Highlights.AddLayer(_highlightLayer);
565
Invariant.Assert(sender == _textEditor.
TextContainer
);
693
searchStart = _textEditor.
TextContainer
.Start;
src\Framework\System\windows\Documents\TextEditor.cs (5)
96
TextContainer
.Changed += new TextContainerChangedEventHandler(OnTextContainerChanged);
1173
if (this.
TextContainer
is TextContainer)
1175
undoManager = ((TextContainer)this.
TextContainer
).UndoManager;
1215
ITextContainer textContainer = this.
TextContainer
;
1550
cursorPosition = this.
TextContainer
.End;
src\Framework\System\windows\Documents\TextEditorMouse.cs (2)
584
snappedCursorPosition = This.
TextContainer
.End;
775
DependencyObject textContainerOwner = textEditor.
TextContainer
.Parent;
src\Framework\System\windows\Documents\TextEditorSelection.cs (10)
180
This.Selection.Select(This.
TextContainer
.Start, This.
TextContainer
.End);
653
targetPosition = This.
TextContainer
.End;
767
targetPosition = This.
TextContainer
.Start;
910
This.Selection.SetCaretToPosition(This.
TextContainer
.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
939
This.Selection.SetCaretToPosition(This.
TextContainer
.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1481
targetPosition = This.
TextContainer
.End;
1577
targetPosition = This.
TextContainer
.Start;
1743
ExtendSelectionAndBringIntoView(This.
TextContainer
.Start, This);
1771
ExtendSelectionAndBringIntoView(This.
TextContainer
.End, This);
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
1256
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
1272
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
src\Framework\System\windows\Documents\TextSelection.cs (2)
46
: base(textEditor.
TextContainer
.Start, textEditor.
TextContainer
.Start)
src\Framework\System\Windows\Documents\TextStore.cs (6)
1974
get { return this.TextEditor.
TextContainer
; }
2201
UndoManager undoManager = UndoManager.GetUndoManager(textEditor.
TextContainer
.Parent);
2261
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2262
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);
2280
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2281
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);