5 writes to AddedLength
PresentationFramework (5)
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (5)
232change.AddedLength += length; 245change.AddedLength = Math.Max(0, change.AddedLength - length); 409oldChange.AddedLength -= cancelledCount; 414oldChange.AddedLength += length; 467newChange.AddedLength += (oldChange.AddedLength - addedLengthOverlap);
10 references to AddedLength
PresentationFramework (10)
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (10)
244change.RemovedLength += Math.Max(0, length - change.AddedLength); 245change.AddedLength = Math.Max(0, change.AddedLength - length); 295if (prevChange.Offset + prevChange.AddedLength >= offset) 370if (change.AddedLength == 0 && change.RemovedLength == 0) 400if (oldChange.Offset + oldChange.AddedLength >= newChange.Offset) 407overlap = oldChange.AddedLength - (newChange.Offset - oldChange.Offset); 444int addedLengthOverlap = oldChange.AddedLength > 0 ? offset + length - oldChange.Offset : 0; 458if (addedLengthOverlap >= oldChange.AddedLength) 461newChange.RemovedLength += (oldChange.RemovedLength - oldChange.AddedLength); 467newChange.AddedLength += (oldChange.AddedLength - addedLengthOverlap);