8 writes to PositionsRemoved
PresentationFramework (8)
src\Framework\MS\Internal\PtsHost\DirtyTextRange.cs (4)
36
PositionsRemoved
= positionsRemoved;
50
PositionsRemoved
= 0;
60
PositionsRemoved
= change.Count;
65
PositionsRemoved
= change.Count;
src\Framework\MS\Internal\PtsHost\DtrList.cs (3)
111
_dtrs[i].
PositionsRemoved
+= dtr.PositionsRemoved - adjust;
125
_dtrs[i].
PositionsRemoved
+= dtr.PositionsRemoved - adjust;
281
_dtrs[index].
PositionsRemoved
+= dtrNext.PositionsRemoved;
src\Framework\MS\Internal\PtsHost\UpdateRecord.cs (1)
52
Dtr.
PositionsRemoved
+= delta + Next.Dtr.PositionsRemoved;
27 references to PositionsRemoved
PresentationFramework (27)
src\Framework\MS\Internal\Documents\TextBoxView.cs (9)
1933
Invariant.Assert(range.PositionsAdded == range.
PositionsRemoved
); // FromHighlightLayer never changes document size.
2343
int positionsRemoved = range.
PositionsRemoved
;
2357
positionsRemoved += rangeDistance + range.
PositionsRemoved
;
2364
if (range.PositionsAdded >= range.
PositionsRemoved
)
2368
else if (range.PositionsAdded < range.
PositionsRemoved
)
2379
int delta = range.PositionsAdded - range.
PositionsRemoved
;
2438
int delta = range.PositionsAdded - range.
PositionsRemoved
;
2550
bool offsetSyncOk = (range.PositionsAdded == 0 || range.
PositionsRemoved
== 0);
2551
int lastCoveredCharOffset = range.StartIndex + Math.Max(range.PositionsAdded, range.
PositionsRemoved
);
src\Framework\MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
67
positionsAdded += _structuralCache.DtrList[dtrIndex].PositionsAdded - _structuralCache.DtrList[dtrIndex].
PositionsRemoved
;
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (2)
1332
if ( (dcpPara + para.LastFormatCch > ur.Dtr.StartIndex + ur.Dtr.
PositionsRemoved
)
1333
|| (dcpPara + para.LastFormatCch == ur.Dtr.StartIndex + ur.Dtr.
PositionsRemoved
&& ur.ChangeType != PTS.FSKCHANGE.fskchNew))
src\Framework\MS\Internal\PtsHost\DtrList.cs (12)
67
if (startIndexOld + dtr.
PositionsRemoved
> _dtrs[i].StartIndex)
83
startIndexOld -= _dtrs[i].PositionsAdded - _dtrs[i].
PositionsRemoved
;
108
int adjust = Math.Min(_dtrs[i].PositionsAdded, dtr.
PositionsRemoved
- delta);
111
_dtrs[i].PositionsRemoved += dtr.
PositionsRemoved
- adjust;
122
int adjust = Math.Min(dtr.
PositionsRemoved
, _dtrs[i].PositionsAdded - delta);
125
_dtrs[i].PositionsRemoved += dtr.
PositionsRemoved
- adjust;
173
int positionsRemoved = range.
PositionsRemoved
;
182
positionsRemoved = rangeDistance + range.
PositionsRemoved
;
223
positionsAdded += _dtrs[i].PositionsAdded - _dtrs[i].
PositionsRemoved
;
234
if (dcpNew - positionsAdded + cchOld <= _dtrs[i].StartIndex + _dtrs[i].
PositionsRemoved
)
277
if (dtrNext.StartIndex <= _dtrs[index].StartIndex + _dtrs[index].
PositionsRemoved
)
281
_dtrs[index].PositionsRemoved += dtrNext.
PositionsRemoved
;
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
816
ddcpOld = dtrs[0].
PositionsRemoved
;
823
ddcpOld += delta + dtrs[i].
PositionsRemoved
;
src\Framework\MS\Internal\PtsHost\UpdateRecord.cs (1)
52
Dtr.PositionsRemoved += delta + Next.Dtr.
PositionsRemoved
;