2 writes to Offset
PresentationFramework (2)
System\Windows\Documents\TextContainerChangedEventArgs.cs (2)
215
change.
Offset
= offset;
335
curChange.
Offset
+= offsetDelta;
14 references to Offset
PresentationFramework (14)
System\Windows\Documents\TextContainerChangedEventArgs.cs (14)
288
if (prevChange.
Offset
+ prevChange.AddedLength >= offset)
304
keyIndex = Changes.IndexOfKey(change.
Offset
);
310
while (curIndex < Changes.Count && Changes.Values[curIndex].
Offset
<= offset + length)
318
keyIndex = Changes.IndexOfKey(change.
Offset
);
337
newChanges.Add(curChange.
Offset
, curChange);
365
Changes.Remove(change.
Offset
);
392
if (oldChange.
Offset
+ oldChange.AddedLength >= newChange.
Offset
)
399
overlap = oldChange.AddedLength - (newChange.
Offset
- oldChange.
Offset
);
425
Changes.Remove(newChange.
Offset
);
436
int addedLengthOverlap = oldChange.AddedLength > 0 ? offset + length - oldChange.
Offset
: 0;
454
Changes.Remove(oldChange.
Offset
);
460
Changes.Remove(oldChange.
Offset
);