53 references to TextContainer
PresentationFramework (53)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
99
textContainer = textEditor.
TextContainer
;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
966
_textEditor.
TextContainer
.TextView = null;
System\Windows\Controls\PasswordBox.cs (1)
854
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1423
Invariant.Assert(_textEditor.
TextContainer
== _textContainer);
1424
Invariant.Assert(_textEditor.
TextContainer
.TextSelection == _textEditor.Selection);
System\Windows\Controls\RichTextBox.cs (1)
120
Invariant.Assert(this.TextEditor.
TextContainer
== this.TextContainer);
System\Windows\Documents\ImmComposition.cs (8)
100
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
123
_editor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
132
_editor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
1662
edge = _editor.
TextContainer
.Start.GetOffsetToPosition(positionCurrent);
1663
int startComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_startComposition);
1664
int endComposition = _editor.
TextContainer
.Start.GetOffsetToPosition(_endComposition);
1752
parent = _editor.
TextContainer
.Parent;
1783
parent = _editor.
TextContainer
.Parent;
System\Windows\Documents\Speller.cs (12)
41
_textEditor.
TextContainer
.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
44
if (_textEditor.
TextContainer
.SymbolCount > 0)
69
_textEditor.
TextContainer
.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
81
_textEditor.
TextContainer
.Highlights.RemoveLayer(_highlightLayer);
228
StaticTextPointer pointer = _textEditor.
TextContainer
.CreateStaticPointerAtOffset(0);
292
_statusTable.MarkDirtyRange(_textEditor.
TextContainer
.Start, _textEditor.
TextContainer
.End);
294
if (_textEditor.
TextContainer
.SymbolCount > 0)
459
_statusTable = new SpellerStatusTable(_textEditor.
TextContainer
.Start, _highlightLayer);
461
_textEditor.
TextContainer
.Highlights.AddLayer(_highlightLayer);
498
Invariant.Assert(sender == _textEditor.
TextContainer
);
623
searchStart = _textEditor.
TextContainer
.Start;
System\windows\Documents\TextEditor.cs (5)
80
TextContainer
.Changed += new TextContainerChangedEventHandler(OnTextContainerChanged);
1133
if (this.
TextContainer
is TextContainer)
1135
undoManager = ((TextContainer)this.
TextContainer
).UndoManager;
1175
ITextContainer textContainer = this.
TextContainer
;
1503
cursorPosition = this.
TextContainer
.End;
System\windows\Documents\TextEditorMouse.cs (2)
564
snappedCursorPosition = This.
TextContainer
.End;
756
DependencyObject textContainerOwner = textEditor.
TextContainer
.Parent;
System\windows\Documents\TextEditorSelection.cs (10)
156
This.Selection.Select(This.
TextContainer
.Start, This.
TextContainer
.End);
628
targetPosition = This.
TextContainer
.End;
742
targetPosition = This.
TextContainer
.Start;
885
This.Selection.SetCaretToPosition(This.
TextContainer
.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
914
This.Selection.SetCaretToPosition(This.
TextContainer
.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1456
targetPosition = This.
TextContainer
.End;
1552
targetPosition = This.
TextContainer
.Start;
1718
ExtendSelectionAndBringIntoView(This.
TextContainer
.Start, This);
1746
ExtendSelectionAndBringIntoView(This.
TextContainer
.End, This);
System\windows\Documents\TextEditorTyping.cs (2)
1220
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.LeftToRight);
1236
UIElementPropertyUndoUnit.Add(This.
TextContainer
, This.UiScope, FrameworkElement.FlowDirectionProperty, FlowDirection.RightToLeft);
System\windows\Documents\TextSelection.cs (2)
39
: base(textEditor.
TextContainer
.Start, textEditor.
TextContainer
.Start)
System\Windows\Documents\TextStore.cs (6)
2087
get { return this.TextEditor.
TextContainer
; }
2319
UndoManager undoManager = UndoManager.GetUndoManager(textEditor.
TextContainer
.Parent);
2378
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2379
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);
2397
_previousCompositionStart = (_previousCompositionStartOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionStartOffset, LogicalDirection.Backward);
2398
_previousCompositionEnd = (_previousCompositionEndOffset == -1) ? null : textEditor.
TextContainer
.CreatePointerAtOffset(_previousCompositionEndOffset, LogicalDirection.Forward);