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