19 references to Changes
PresentationFramework (19)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1448OnTextChanged(new TextChangedEventArgs(TextChangedEvent, undoAction, new ReadOnlyCollection<TextChange>(e.Changes.Values)));
System\Windows\Documents\TextContainerChangedEventArgs.cs (18)
207int keyIndex = Changes.IndexOfKey(offset); 210change = Changes.Values[keyIndex]; 216Changes.Add(offset, change); 217keyIndex = Changes.IndexOfKey(offset); 284TextChange prevChange = Changes.Values[curIndex]; 304keyIndex = Changes.IndexOfKey(change.Offset); 308if (isDeletion && curIndex < Changes.Count) 310while (curIndex < Changes.Count && Changes.Values[curIndex].Offset <= offset + length) 315MergeTextChangeRight(Changes.Values[curIndex], change, offset, length); 318keyIndex = Changes.IndexOfKey(change.Offset); 329SortedList<int, TextChange> newChanges = new SortedList<int, TextChange>(Changes.Count); 330for (curIndex = 0; curIndex < Changes.Count; curIndex++) 332TextChange curChange = Changes.Values[curIndex]; 365Changes.Remove(change.Offset); 425Changes.Remove(newChange.Offset); 454Changes.Remove(oldChange.Offset); 460Changes.Remove(oldChange.Offset);