13 instantiations of DirtyTextRange
PresentationFramework (13)
MS\Internal\Documents\TextBoxView.cs (5)
1408DirtyTextRange dirtyTextRange = new DirtyTextRange(args); 1447DirtyTextRange dirtyTextRange = new DirtyTextRange(segment.Start.Offset, positionsCovered, positionsCovered, fromHighlightLayer: true); 1545_dirtyList.Merge(new DirtyTextRange(metrics.Offset, metrics.Length, metrics.Length, fromHighlightLayer: true)); 2323range = new DirtyTextRange(_dirtyList[0].StartIndex, positionsAdded, positionsRemoved); 2953result = new DirtyTextRange(rangeStart, rangeSize, rangeSize, fromHighlightLayer: true);
MS\Internal\PtsHost\DtrList.cs (2)
181return new DirtyTextRange(_dtrs[0].StartIndex, positionsAdded, positionsRemoved, fromHighlightLayer); 184return new DirtyTextRange(0, 0, 0, false);
MS\Internal\PtsHost\PtsPage.cs (1)
271DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
MS\Internal\PtsHost\TableParagraph.cs (1)
550DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
MS\Internal\PtsHost\UpdateRecord.cs (1)
26Dtr = new DirtyTextRange(0,0,0);
System\Windows\Documents\FlowDocument.cs (3)
963DirtyTextRange dtr = new DirtyTextRange(childStartIndex, TextContainerHelper.EmbeddedObjectLength, TextContainerHelper.EmbeddedObjectLength); 1417DirtyTextRange dtr = new DirtyTextRange(textSegment.Start.Offset, 1493dtr = new DirtyTextRange(args);
34 references to DirtyTextRange
PresentationFramework (34)
MS\Internal\Documents\TextBoxView.cs (13)
1408DirtyTextRange dirtyTextRange = new DirtyTextRange(args); 1447DirtyTextRange dirtyTextRange = new DirtyTextRange(segment.Start.Offset, positionsCovered, positionsCovered, fromHighlightLayer: true); 1451DirtyTextRange highlightRange = tempDirtyList.GetMergedRange(); 1491private void HandleTextSelectionHighlightChange(DirtyTextRange currentSelectionRange, ref bool arrangeNeeded, ref bool measureNeeded) 1558DirtyTextRange? selectionRenderRange = GetSelectionRenderRange(currentSelectionRange); 1889DirtyTextRange range = _dirtyList[i]; 2284DirtyTextRange range = _dirtyList[0]; 2338private void IncrementalMeasureLinesAfterInsert(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2397private void IncrementalMeasureLinesAfterDelete(double constraintWidth, LineProperties lineProperties, DirtyTextRange range, ref Size desiredSize) 2508private void SyncLineMetrics(DirtyTextRange range, double constraintWidth, LineProperties lineProperties, TextBoxLine line, 2933private DirtyTextRange? GetSelectionRenderRange(DirtyTextRange selectionRange) 2935DirtyTextRange? result = null;
MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
64DirtyTextRange dtrLast = _structuralCache.DtrList[_structuralCache.DtrList.Length - 1];
MS\Internal\PtsHost\ContainerParagraph.cs (2)
363DirtyTextRange dtr = dtrs[0]; 1224DirtyTextRange dtr,
MS\Internal\PtsHost\DtrList.cs (11)
27_dtrs = new DirtyTextRange[_defaultCapacity]; 38internal void Merge(DirtyTextRange dtr) 156internal DirtyTextRange GetMergedRange() 160DirtyTextRange range = _dtrs[0]; 246DirtyTextRange dtr = _dtrs[first]; 264DirtyTextRange dtrNext = _dtrs[index+1]; 297private void Append(DirtyTextRange dtr) 313DirtyTextRange [] newdtrs = new DirtyTextRange[_dtrs.Length * 2]; 325internal DirtyTextRange this[int index] 333private DirtyTextRange [] _dtrs;
MS\Internal\PtsHost\PtsPage.cs (1)
271DirtyTextRange dtr = new DirtyTextRange(cpLast, cpTextContainer - cpLast, cpTextContainer - cpLast);
MS\Internal\PtsHost\StructuralCache.cs (1)
148internal void AddDirtyTextRange(DirtyTextRange dtr)
MS\Internal\PtsHost\TableParagraph.cs (1)
550DirtyTextRange dtr = new DirtyTextRange(Table.ContentStartOffset, charCount, charCount);
MS\Internal\PtsHost\UpdateRecord.cs (1)
55internal DirtyTextRange Dtr;
System\Windows\Documents\FlowDocument.cs (3)
963DirtyTextRange dtr = new DirtyTextRange(childStartIndex, TextContainerHelper.EmbeddedObjectLength, TextContainerHelper.EmbeddedObjectLength); 1417DirtyTextRange dtr = new DirtyTextRange(textSegment.Start.Offset, 1455DirtyTextRange dtr;