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