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