1 instantiation of TextChange
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (1)
221
change = new
TextChange
();
20 references to TextChange
PresentationFramework (20)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1483
OnTextChanged(new TextChangedEventArgs(TextChangedEvent, undoAction, new ReadOnlyCollection<
TextChange
>(e.Changes.Values)));
src\Framework\System\Windows\Controls\TextChangedEventArgs.cs (5)
77
public TextChangedEventArgs(RoutedEvent id, UndoAction action, ICollection<
TextChange
> changes) : base()
100
: this(id, action, new ReadOnlyCollection<
TextChange
>(new List<
TextChange
>()))
145
public ICollection<
TextChange
> Changes
172
private readonly ICollection<
TextChange
> _changes;
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (14)
36
_changes = new SortedList<int,
TextChange
>();
168
internal SortedList<int,
TextChange
> Changes
205
TextChange
change = null; // initialize to satisfy compiler
288
TextChange
mergedChange = null;
291
TextChange
prevChange = Changes.Values[curIndex];
336
SortedList<int,
TextChange
> newChanges = new SortedList<int,
TextChange
>(Changes.Count);
339
TextChange
curChange = Changes.Values[curIndex];
365
private void DeleteChangeIfEmpty(
TextChange
change)
378
private bool MergeTextChangeLeft(
TextChange
oldChange,
TextChange
newChange, bool isDeletion, int length)
440
private void MergeTextChangeRight(
TextChange
oldChange,
TextChange
newChange, int offset, int length)
509
private SortedList<int,
TextChange
> _changes;