13 instantiations of DirtyTextRange
PresentationFramework (13)
src\Framework\MS\Internal\Documents\TextBoxView.cs (5)
1451DirtyTextRange dirtyTextRange = new DirtyTextRange(args); 1490DirtyTextRange dirtyTextRange = new DirtyTextRange(segment.Start.Offset, positionsCovered, positionsCovered, fromHighlightLayer: true); 1589_dirtyList.Merge(new DirtyTextRange(metrics.Offset, metrics.Length, metrics.Length, fromHighlightLayer: true)); 2362range = new DirtyTextRange(_dirtyList[0].StartIndex, positionsAdded, positionsRemoved); 2973result = new DirtyTextRange(rangeStart, rangeSize, rangeSize, fromHighlightLayer: true);
src\Framework\MS\Internal\PtsHost\DtrList.cs (2)
190return new DirtyTextRange(_dtrs[0].StartIndex, positionsAdded, positionsRemoved, fromHighlightLayer); 193return new DirtyTextRange(0, 0, 0, false);
src\Framework\MS\Internal\PtsHost\PtsPage.cs (1)
287DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (1)
568DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
src\Framework\MS\Internal\PtsHost\UpdateRecord.cs (1)
33Dtr = new DirtyTextRange(0,0,0);
src\Framework\System\Windows\Documents\FlowDocument.cs (3)
975DirtyTextRange dtr = new DirtyTextRange(childStartIndex, TextContainerHelper.EmbeddedObjectLength, TextContainerHelper.EmbeddedObjectLength); 1436DirtyTextRange dtr = new DirtyTextRange(textSegment.Start.Offset, 1512dtr = new DirtyTextRange(args);
34 references to DirtyTextRange
PresentationFramework (34)
src\Framework\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(); 1535private void HandleTextSelectionHighlightChange(DirtyTextRange currentSelectionRange, ref bool arrangeNeeded, ref bool measureNeeded) 1602DirtyTextRange? selectionRenderRange = GetSelectionRenderRange(currentSelectionRange); 1930DirtyTextRange range = _dirtyList[i]; 2323DirtyTextRange range = _dirtyList[0]; 2377private void IncrementalMeasureLinesAfterInsert(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2436private void IncrementalMeasureLinesAfterDelete(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2547private void SyncLineMetrics(DirtyTextRange range, double constraintWidth, LineProperties lineProperties, TextBoxLine line, 2953private DirtyTextRange? GetSelectionRenderRange(DirtyTextRange selectionRange) 2955DirtyTextRange? result = null;
src\Framework\MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
70DirtyTextRange dtrLast = _structuralCache.DtrList[_structuralCache.DtrList.Length - 1];
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (2)
387DirtyTextRange dtr = dtrs[0]; 1274DirtyTextRange dtr,
src\Framework\MS\Internal\PtsHost\DtrList.cs (11)
36_dtrs = new DirtyTextRange[_defaultCapacity]; 47internal void Merge(DirtyTextRange dtr) 165internal DirtyTextRange GetMergedRange() 169DirtyTextRange range = _dtrs[0]; 255DirtyTextRange dtr = _dtrs[first]; 273DirtyTextRange dtrNext = _dtrs[index+1]; 306private void Append(DirtyTextRange dtr) 322DirtyTextRange [] newdtrs = new DirtyTextRange[_dtrs.Length * 2]; 334internal DirtyTextRange this[int index] 342private DirtyTextRange [] _dtrs;
src\Framework\MS\Internal\PtsHost\PtsPage.cs (1)
287DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
src\Framework\MS\Internal\PtsHost\StructuralCache.cs (1)
159internal void AddDirtyTextRange(DirtyTextRange dtr)
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (1)
568DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
src\Framework\MS\Internal\PtsHost\UpdateRecord.cs (1)
62internal DirtyTextRange Dtr;
src\Framework\System\Windows\Documents\FlowDocument.cs (3)
975DirtyTextRange dtr = new DirtyTextRange(childStartIndex, TextContainerHelper.EmbeddedObjectLength, TextContainerHelper.EmbeddedObjectLength); 1436DirtyTextRange dtr = new DirtyTextRange(textSegment.Start.Offset, 1474DirtyTextRange dtr;