13 instantiations of DirtyTextRange
PresentationFramework (13)
MS\Internal\Documents\TextBoxView.cs (5)
1451DirtyTextRange dirtyTextRange = new DirtyTextRange(args); 1490DirtyTextRange dirtyTextRange = new DirtyTextRange(segment.Start.Offset, positionsCovered, positionsCovered, fromHighlightLayer: true); 1588_dirtyList.Merge(new DirtyTextRange(metrics.Offset, metrics.Length, metrics.Length, fromHighlightLayer: true)); 2366range = new DirtyTextRange(_dirtyList[0].StartIndex, positionsAdded, positionsRemoved); 2996result = new DirtyTextRange(rangeStart, rangeSize, rangeSize, fromHighlightLayer: true);
MS\Internal\PtsHost\DtrList.cs (2)
186return new DirtyTextRange(_dtrs[0].StartIndex, positionsAdded, positionsRemoved, fromHighlightLayer); 189return new DirtyTextRange(0, 0, 0, false);
MS\Internal\PtsHost\PtsPage.cs (1)
278DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
MS\Internal\PtsHost\TableParagraph.cs (1)
564DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
MS\Internal\PtsHost\UpdateRecord.cs (1)
30Dtr = new DirtyTextRange(0,0,0);
System\Windows\Documents\FlowDocument.cs (3)
967DirtyTextRange dtr = new DirtyTextRange(childStartIndex, TextContainerHelper.EmbeddedObjectLength, TextContainerHelper.EmbeddedObjectLength); 1427DirtyTextRange dtr = new DirtyTextRange(textSegment.Start.Offset, 1503dtr = new DirtyTextRange(args);
34 references to DirtyTextRange
PresentationFramework (34)
MS\Internal\Documents\TextBoxView.cs (13)
1451DirtyTextRange dirtyTextRange = new DirtyTextRange(args); 1490DirtyTextRange dirtyTextRange = new DirtyTextRange(segment.Start.Offset, positionsCovered, positionsCovered, fromHighlightLayer: true); 1494DirtyTextRange highlightRange = tempDirtyList.GetMergedRange(); 1534private void HandleTextSelectionHighlightChange(DirtyTextRange currentSelectionRange, ref bool arrangeNeeded, ref bool measureNeeded) 1601DirtyTextRange? selectionRenderRange = GetSelectionRenderRange(currentSelectionRange); 1932DirtyTextRange range = _dirtyList[i]; 2327DirtyTextRange range = _dirtyList[0]; 2381private void IncrementalMeasureLinesAfterInsert(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2440private void IncrementalMeasureLinesAfterDelete(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2551private void SyncLineMetrics(DirtyTextRange range, double constraintWidth, LineProperties lineProperties, TextBoxLine line, 2976private DirtyTextRange? GetSelectionRenderRange(DirtyTextRange selectionRange) 2978DirtyTextRange? result = null;
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
66DirtyTextRange dtrLast = _structuralCache.DtrList[_structuralCache.DtrList.Length - 1];
MS\Internal\PtsHost\ContainerParagraph.cs (2)
382DirtyTextRange dtr = dtrs[0]; 1248DirtyTextRange dtr,
MS\Internal\PtsHost\DtrList.cs (11)
32_dtrs = new DirtyTextRange[_defaultCapacity]; 43internal void Merge(DirtyTextRange dtr) 161internal DirtyTextRange GetMergedRange() 165DirtyTextRange range = _dtrs[0]; 251DirtyTextRange dtr = _dtrs[first]; 269DirtyTextRange dtrNext = _dtrs[index+1]; 302private void Append(DirtyTextRange dtr) 318DirtyTextRange [] newdtrs = new DirtyTextRange[_dtrs.Length * 2]; 330internal DirtyTextRange this[int index] 338private DirtyTextRange [] _dtrs;
MS\Internal\PtsHost\PtsPage.cs (1)
278DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
MS\Internal\PtsHost\StructuralCache.cs (1)
155internal void AddDirtyTextRange(DirtyTextRange dtr)
MS\Internal\PtsHost\TableParagraph.cs (1)
564DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
MS\Internal\PtsHost\UpdateRecord.cs (1)
59internal DirtyTextRange Dtr;
System\Windows\Documents\FlowDocument.cs (3)
967DirtyTextRange dtr = new DirtyTextRange(childStartIndex, TextContainerHelper.EmbeddedObjectLength, TextContainerHelper.EmbeddedObjectLength); 1427DirtyTextRange dtr = new DirtyTextRange(textSegment.Start.Offset, 1465DirtyTextRange dtr;