1 instantiation of TextChange
PresentationFramework (1)
System\Windows\Documents\TextContainerChangedEventArgs.cs (1)
217
change = new
TextChange
();
20 references to TextChange
PresentationFramework (20)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1457
OnTextChanged(new TextChangedEventArgs(TextChangedEvent, undoAction, new ReadOnlyCollection<
TextChange
>(e.Changes.Values)));
System\Windows\Controls\TextChangedEventArgs.cs (5)
71
public TextChangedEventArgs(RoutedEvent id, UndoAction action, ICollection<
TextChange
> changes) : base()
91
: this(id, action, new ReadOnlyCollection<
TextChange
>(new List<
TextChange
>()))
136
public ICollection<
TextChange
> Changes
163
private readonly ICollection<
TextChange
> _changes;
System\Windows\Documents\TextContainerChangedEventArgs.cs (14)
32
_changes = new SortedList<int,
TextChange
>();
164
internal SortedList<int,
TextChange
> Changes
201
TextChange
change = null; // initialize to satisfy compiler
284
TextChange
mergedChange = null;
287
TextChange
prevChange = Changes.Values[curIndex];
332
SortedList<int,
TextChange
> newChanges = new SortedList<int,
TextChange
>(Changes.Count);
335
TextChange
curChange = Changes.Values[curIndex];
360
private void DeleteChangeIfEmpty(
TextChange
change)
373
private bool MergeTextChangeLeft(
TextChange
oldChange,
TextChange
newChange, bool isDeletion, int length)
435
private void MergeTextChangeRight(
TextChange
oldChange,
TextChange
newChange, int offset, int length)
504
private SortedList<int,
TextChange
> _changes;