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