8 writes to PositionsRemoved
PresentationFramework (8)
MS\Internal\PtsHost\DirtyTextRange.cs (4)
29
PositionsRemoved
= positionsRemoved;
43
PositionsRemoved
= 0;
53
PositionsRemoved
= change.Count;
58
PositionsRemoved
= change.Count;
MS\Internal\PtsHost\DtrList.cs (3)
103
_dtrs[i].
PositionsRemoved
+= dtr.PositionsRemoved - adjust;
117
_dtrs[i].
PositionsRemoved
+= dtr.PositionsRemoved - adjust;
273
_dtrs[index].
PositionsRemoved
+= dtrNext.PositionsRemoved;
MS\Internal\PtsHost\UpdateRecord.cs (1)
46
Dtr.
PositionsRemoved
+= delta + Next.Dtr.PositionsRemoved;
27 references to PositionsRemoved
PresentationFramework (27)
MS\Internal\Documents\TextBoxView.cs (9)
1933
Invariant.Assert(range.PositionsAdded == range.
PositionsRemoved
); // FromHighlightLayer never changes document size.
2345
int positionsRemoved = range.
PositionsRemoved
;
2359
positionsRemoved += rangeDistance + range.
PositionsRemoved
;
2366
if (range.PositionsAdded >= range.
PositionsRemoved
)
2370
else if (range.PositionsAdded < range.
PositionsRemoved
)
2381
int delta = range.PositionsAdded - range.
PositionsRemoved
;
2440
int delta = range.PositionsAdded - range.
PositionsRemoved
;
2552
bool offsetSyncOk = (range.PositionsAdded == 0 || range.
PositionsRemoved
== 0);
2553
int lastCoveredCharOffset = range.StartIndex + Math.Max(range.PositionsAdded, range.
PositionsRemoved
);
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
62
positionsAdded += _structuralCache.DtrList[dtrIndex].PositionsAdded - _structuralCache.DtrList[dtrIndex].
PositionsRemoved
;
MS\Internal\PtsHost\ContainerParagraph.cs (2)
1301
if ( (dcpPara + para.LastFormatCch > ur.Dtr.StartIndex + ur.Dtr.
PositionsRemoved
)
1302
|| (dcpPara + para.LastFormatCch == ur.Dtr.StartIndex + ur.Dtr.
PositionsRemoved
&& ur.ChangeType != PTS.FSKCHANGE.fskchNew))
MS\Internal\PtsHost\DtrList.cs (12)
59
if (startIndexOld + dtr.
PositionsRemoved
> _dtrs[i].StartIndex)
75
startIndexOld -= _dtrs[i].PositionsAdded - _dtrs[i].
PositionsRemoved
;
100
int adjust = Math.Min(_dtrs[i].PositionsAdded, dtr.
PositionsRemoved
- delta);
103
_dtrs[i].PositionsRemoved += dtr.
PositionsRemoved
- adjust;
114
int adjust = Math.Min(dtr.
PositionsRemoved
, _dtrs[i].PositionsAdded - delta);
117
_dtrs[i].PositionsRemoved += dtr.
PositionsRemoved
- adjust;
165
int positionsRemoved = range.
PositionsRemoved
;
174
positionsRemoved = rangeDistance + range.
PositionsRemoved
;
215
positionsAdded += _dtrs[i].PositionsAdded - _dtrs[i].
PositionsRemoved
;
226
if (dcpNew - positionsAdded + cchOld <= _dtrs[i].StartIndex + _dtrs[i].
PositionsRemoved
)
269
if (dtrNext.StartIndex <= _dtrs[index].StartIndex + _dtrs[index].
PositionsRemoved
)
273
_dtrs[index].PositionsRemoved += dtrNext.
PositionsRemoved
;
MS\Internal\PtsHost\TextParagraph.cs (2)
802
ddcpOld = dtrs[0].
PositionsRemoved
;
809
ddcpOld += delta + dtrs[i].
PositionsRemoved
;
MS\Internal\PtsHost\UpdateRecord.cs (1)
46
Dtr.PositionsRemoved += delta + Next.Dtr.
PositionsRemoved
;