13 instantiations of DirtyTextRange
PresentationFramework (13)
MS\Internal\Documents\TextBoxView.cs (5)
1449DirtyTextRange dirtyTextRange = new DirtyTextRange(args); 1488DirtyTextRange dirtyTextRange = new DirtyTextRange(segment.Start.Offset, positionsCovered, positionsCovered, fromHighlightLayer: true); 1586_dirtyList.Merge(new DirtyTextRange(metrics.Offset, metrics.Length, metrics.Length, fromHighlightLayer: true)); 2364range = new DirtyTextRange(_dirtyList[0].StartIndex, positionsAdded, positionsRemoved); 2994result = new DirtyTextRange(rangeStart, rangeSize, rangeSize, fromHighlightLayer: true);
MS\Internal\PtsHost\DtrList.cs (2)
182return new DirtyTextRange(_dtrs[0].StartIndex, positionsAdded, positionsRemoved, fromHighlightLayer); 185return new DirtyTextRange(0, 0, 0, false);
MS\Internal\PtsHost\PtsPage.cs (1)
272DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
MS\Internal\PtsHost\TableParagraph.cs (1)
556DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
MS\Internal\PtsHost\UpdateRecord.cs (1)
27Dtr = 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)
1449DirtyTextRange dirtyTextRange = new DirtyTextRange(args); 1488DirtyTextRange dirtyTextRange = new DirtyTextRange(segment.Start.Offset, positionsCovered, positionsCovered, fromHighlightLayer: true); 1492DirtyTextRange highlightRange = tempDirtyList.GetMergedRange(); 1532private void HandleTextSelectionHighlightChange(DirtyTextRange currentSelectionRange, ref bool arrangeNeeded, ref bool measureNeeded) 1599DirtyTextRange? selectionRenderRange = GetSelectionRenderRange(currentSelectionRange); 1930DirtyTextRange range = _dirtyList[i]; 2325DirtyTextRange range = _dirtyList[0]; 2379private void IncrementalMeasureLinesAfterInsert(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2438private void IncrementalMeasureLinesAfterDelete(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2549private void SyncLineMetrics(DirtyTextRange range, double constraintWidth, LineProperties lineProperties, TextBoxLine line, 2974private DirtyTextRange? GetSelectionRenderRange(DirtyTextRange selectionRange) 2976DirtyTextRange? result = null;
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
65DirtyTextRange dtrLast = _structuralCache.DtrList[_structuralCache.DtrList.Length - 1];
MS\Internal\PtsHost\ContainerParagraph.cs (2)
377DirtyTextRange dtr = dtrs[0]; 1243DirtyTextRange dtr,
MS\Internal\PtsHost\DtrList.cs (11)
28_dtrs = new DirtyTextRange[_defaultCapacity]; 39internal void Merge(DirtyTextRange dtr) 157internal DirtyTextRange GetMergedRange() 161DirtyTextRange range = _dtrs[0]; 247DirtyTextRange dtr = _dtrs[first]; 265DirtyTextRange dtrNext = _dtrs[index+1]; 298private void Append(DirtyTextRange dtr) 314DirtyTextRange [] newdtrs = new DirtyTextRange[_dtrs.Length * 2]; 326internal DirtyTextRange this[int index] 334private DirtyTextRange [] _dtrs;
MS\Internal\PtsHost\PtsPage.cs (1)
272DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
MS\Internal\PtsHost\StructuralCache.cs (1)
149internal void AddDirtyTextRange(DirtyTextRange dtr)
MS\Internal\PtsHost\TableParagraph.cs (1)
556DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
MS\Internal\PtsHost\UpdateRecord.cs (1)
56internal 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;