19 references to Changes
PresentationFramework (19)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1457
OnTextChanged(new TextChangedEventArgs(TextChangedEvent, undoAction, new ReadOnlyCollection<TextChange>(e.
Changes
.Values)));
System\Windows\Documents\TextContainerChangedEventArgs.cs (18)
210
int keyIndex =
Changes
.IndexOfKey(offset);
213
change =
Changes
.Values[keyIndex];
219
Changes
.Add(offset, change);
220
keyIndex =
Changes
.IndexOfKey(offset);
287
TextChange prevChange =
Changes
.Values[curIndex];
307
keyIndex =
Changes
.IndexOfKey(change.Offset);
311
if (isDeletion && curIndex <
Changes
.Count)
313
while (curIndex <
Changes
.Count &&
Changes
.Values[curIndex].Offset <= offset + length)
318
MergeTextChangeRight(
Changes
.Values[curIndex], change, offset, length);
321
keyIndex =
Changes
.IndexOfKey(change.Offset);
332
SortedList<int, TextChange> newChanges = new SortedList<int, TextChange>(
Changes
.Count);
333
for (curIndex = 0; curIndex <
Changes
.Count; curIndex++)
335
TextChange curChange =
Changes
.Values[curIndex];
368
Changes
.Remove(change.Offset);
428
Changes
.Remove(newChange.Offset);
457
Changes
.Remove(oldChange.Offset);
463
Changes
.Remove(oldChange.Offset);