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