19 references to Changes
PresentationFramework (19)
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\Documents\TextContainerChangedEventArgs.cs (18)
214
int keyIndex =
Changes
.IndexOfKey(offset);
217
change =
Changes
.Values[keyIndex];
223
Changes
.Add(offset, change);
224
keyIndex =
Changes
.IndexOfKey(offset);
291
TextChange prevChange =
Changes
.Values[curIndex];
311
keyIndex =
Changes
.IndexOfKey(change.Offset);
315
if (isDeletion && curIndex <
Changes
.Count)
317
while (curIndex <
Changes
.Count &&
Changes
.Values[curIndex].Offset <= offset + length)
322
MergeTextChangeRight(
Changes
.Values[curIndex], change, offset, length);
325
keyIndex =
Changes
.IndexOfKey(change.Offset);
336
SortedList<int, TextChange> newChanges = new SortedList<int, TextChange>(
Changes
.Count);
337
for (curIndex = 0; curIndex <
Changes
.Count; curIndex++)
339
TextChange curChange =
Changes
.Values[curIndex];
373
Changes
.Remove(change.Offset);
433
Changes
.Remove(newChange.Offset);
462
Changes
.Remove(oldChange.Offset);
468
Changes
.Remove(oldChange.Offset);