5 writes to AddedLength
PresentationFramework (5)
System\Windows\Documents\TextContainerChangedEventArgs.cs (5)
225change.AddedLength += length; 238change.AddedLength = Math.Max(0, change.AddedLength - length); 401oldChange.AddedLength -= cancelledCount; 406oldChange.AddedLength += length; 459newChange.AddedLength += (oldChange.AddedLength - addedLengthOverlap);
10 references to AddedLength
PresentationFramework (10)
System\Windows\Documents\TextContainerChangedEventArgs.cs (10)
237change.RemovedLength += Math.Max(0, length - change.AddedLength); 238change.AddedLength = Math.Max(0, change.AddedLength - length); 288if (prevChange.Offset + prevChange.AddedLength >= offset) 362if (change.AddedLength == 0 && change.RemovedLength == 0) 392if (oldChange.Offset + oldChange.AddedLength >= newChange.Offset) 399overlap = oldChange.AddedLength - (newChange.Offset - oldChange.Offset); 436int addedLengthOverlap = oldChange.AddedLength > 0 ? offset + length - oldChange.Offset : 0; 450if (addedLengthOverlap >= oldChange.AddedLength) 453newChange.RemovedLength += (oldChange.RemovedLength - oldChange.AddedLength); 459newChange.AddedLength += (oldChange.AddedLength - addedLengthOverlap);