2 writes to Offset
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (2)
222
change.
Offset
= offset;
342
curChange.
Offset
+= offsetDelta;
14 references to Offset
PresentationFramework (14)
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (14)
295
if (prevChange.
Offset
+ prevChange.AddedLength >= offset)
311
keyIndex = Changes.IndexOfKey(change.
Offset
);
317
while (curIndex < Changes.Count && Changes.Values[curIndex].
Offset
<= offset + length)
325
keyIndex = Changes.IndexOfKey(change.
Offset
);
344
newChanges.Add(curChange.
Offset
, curChange);
373
Changes.Remove(change.
Offset
);
400
if (oldChange.
Offset
+ oldChange.AddedLength >= newChange.
Offset
)
407
overlap = oldChange.AddedLength - (newChange.
Offset
- oldChange.
Offset
);
433
Changes.Remove(newChange.
Offset
);
444
int addedLengthOverlap = oldChange.AddedLength > 0 ? offset + length - oldChange.
Offset
: 0;
462
Changes.Remove(oldChange.
Offset
);
468
Changes.Remove(oldChange.
Offset
);