2 writes to Offset
PresentationFramework (2)
System\Windows\Documents\TextContainerChangedEventArgs.cs (2)
216
Offset
= offset
337
curChange.
Offset
+= offsetDelta;
14 references to Offset
PresentationFramework (14)
System\Windows\Documents\TextContainerChangedEventArgs.cs (14)
290
if (prevChange.
Offset
+ prevChange.AddedLength >= offset)
306
keyIndex = Changes.IndexOfKey(change.
Offset
);
312
while (curIndex < Changes.Count && Changes.Values[curIndex].
Offset
<= offset + length)
320
keyIndex = Changes.IndexOfKey(change.
Offset
);
339
newChanges.Add(curChange.
Offset
, curChange);
367
Changes.Remove(change.
Offset
);
394
if (oldChange.
Offset
+ oldChange.AddedLength >= newChange.
Offset
)
401
overlap = oldChange.AddedLength - (newChange.
Offset
- oldChange.
Offset
);
427
Changes.Remove(newChange.
Offset
);
438
int addedLengthOverlap = oldChange.AddedLength > 0 ? offset + length - oldChange.
Offset
: 0;
456
Changes.Remove(oldChange.
Offset
);
462
Changes.Remove(oldChange.
Offset
);