8 writes to PositionsRemoved
PresentationFramework (8)
MS\Internal\PtsHost\DirtyTextRange.cs (4)
31
PositionsRemoved
= positionsRemoved;
45
PositionsRemoved
= 0;
55
PositionsRemoved
= change.Count;
60
PositionsRemoved
= change.Count;
MS\Internal\PtsHost\DtrList.cs (3)
107
_dtrs[i].
PositionsRemoved
+= dtr.PositionsRemoved - adjust;
121
_dtrs[i].
PositionsRemoved
+= dtr.PositionsRemoved - adjust;
277
_dtrs[index].
PositionsRemoved
+= dtrNext.PositionsRemoved;
MS\Internal\PtsHost\UpdateRecord.cs (1)
49
Dtr.
PositionsRemoved
+= delta + Next.Dtr.PositionsRemoved;
27 references to PositionsRemoved
PresentationFramework (27)
MS\Internal\Documents\TextBoxView.cs (9)
1935
Invariant.Assert(range.PositionsAdded == range.
PositionsRemoved
); // FromHighlightLayer never changes document size.
2347
int positionsRemoved = range.
PositionsRemoved
;
2361
positionsRemoved += rangeDistance + range.
PositionsRemoved
;
2368
if (range.PositionsAdded >= range.
PositionsRemoved
)
2372
else if (range.PositionsAdded < range.
PositionsRemoved
)
2383
int delta = range.PositionsAdded - range.
PositionsRemoved
;
2442
int delta = range.PositionsAdded - range.
PositionsRemoved
;
2554
bool offsetSyncOk = (range.PositionsAdded == 0 || range.
PositionsRemoved
== 0);
2555
int lastCoveredCharOffset = range.StartIndex + Math.Max(range.PositionsAdded, range.
PositionsRemoved
);
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
63
positionsAdded += _structuralCache.DtrList[dtrIndex].PositionsAdded - _structuralCache.DtrList[dtrIndex].
PositionsRemoved
;
MS\Internal\PtsHost\ContainerParagraph.cs (2)
1306
if ( (dcpPara + para.LastFormatCch > ur.Dtr.StartIndex + ur.Dtr.
PositionsRemoved
)
1307
|| (dcpPara + para.LastFormatCch == ur.Dtr.StartIndex + ur.Dtr.
PositionsRemoved
&& ur.ChangeType != PTS.FSKCHANGE.fskchNew))
MS\Internal\PtsHost\DtrList.cs (12)
63
if (startIndexOld + dtr.
PositionsRemoved
> _dtrs[i].StartIndex)
79
startIndexOld -= _dtrs[i].PositionsAdded - _dtrs[i].
PositionsRemoved
;
104
int adjust = Math.Min(_dtrs[i].PositionsAdded, dtr.
PositionsRemoved
- delta);
107
_dtrs[i].PositionsRemoved += dtr.
PositionsRemoved
- adjust;
118
int adjust = Math.Min(dtr.
PositionsRemoved
, _dtrs[i].PositionsAdded - delta);
121
_dtrs[i].PositionsRemoved += dtr.
PositionsRemoved
- adjust;
169
int positionsRemoved = range.
PositionsRemoved
;
178
positionsRemoved = rangeDistance + range.
PositionsRemoved
;
219
positionsAdded += _dtrs[i].PositionsAdded - _dtrs[i].
PositionsRemoved
;
230
if (dcpNew - positionsAdded + cchOld <= _dtrs[i].StartIndex + _dtrs[i].
PositionsRemoved
)
273
if (dtrNext.StartIndex <= _dtrs[index].StartIndex + _dtrs[index].
PositionsRemoved
)
277
_dtrs[index].PositionsRemoved += dtrNext.
PositionsRemoved
;
MS\Internal\PtsHost\TextParagraph.cs (2)
809
ddcpOld = dtrs[0].
PositionsRemoved
;
816
ddcpOld += delta + dtrs[i].
PositionsRemoved
;
MS\Internal\PtsHost\UpdateRecord.cs (1)
49
Dtr.PositionsRemoved += delta + Next.Dtr.
PositionsRemoved
;