1 write to _structuralCache
PresentationFramework (1)
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
1234_structuralCache = new StructuralCache(this, textContainer);
50 references to _structuralCache
PresentationFramework (50)
src\Framework\System\Windows\Documents\FlowDocument.cs (50)
183return _structuralCache.TextContainer.Start; 198return _structuralCache.TextContainer.End; 792if (_structuralCache != null && _structuralCache.IsFormattedOnce) 802if (_structuralCache.IsFormattingInProgress) 804_structuralCache.OnInvalidOperationDetected(); 811_structuralCache.InvalidateFormatCache(!affectsRender); 849return new RangeContentEnumerator(_structuralCache.TextContainer.Start, _structuralCache.TextContainer.End); 933if (textPointer != null && textPointer.TextContainer != _structuralCache.TextContainer) 950if (_structuralCache != null && _structuralCache.IsFormattedOnce && !_structuralCache.ForceReformat) 955if (_structuralCache.IsFormattingInProgress) 969TextPointer childStart = new TextPointer(_structuralCache.TextContainer.Start); 976_structuralCache.AddDirtyTextRange(dtr); 991_structuralCache.TextContainer.Changing += new EventHandler(OnTextContainerChanging); 992_structuralCache.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 993_structuralCache.TextContainer.Highlights.Changed += new HighlightChangedEventHandler(OnHighlightChanged); 1001_structuralCache.TextContainer.Changing -= new EventHandler(OnTextContainerChanging); 1002_structuralCache.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 1003_structuralCache.TextContainer.Highlights.Changed -= new HighlightChangedEventHandler(OnHighlightChanged); 1004_structuralCache.IsFormattedOnce = false; 1095return _structuralCache; 1163return _structuralCache.TextContainer; 1250if (fd._structuralCache != null && fd._structuralCache.IsFormattedOnce) 1399Invariant.Assert(_structuralCache != null && _structuralCache.IsFormattedOnce, "Unexpected Highlights.Changed callback before first format!"); 1402if (_structuralCache.IsFormattingInProgress) 1404_structuralCache.OnInvalidOperationDetected(); 1423_structuralCache.InvalidateFormatCache(/*Clear structure*/ false); 1440_structuralCache.AddDirtyTextRange(dtr); 1452Invariant.Assert(sender == _structuralCache.TextContainer, "Received text change for foreign TextContainer."); 1453Invariant.Assert(_structuralCache != null && _structuralCache.IsFormattedOnce, "Unexpected TextContainer.Changing callback before first format!"); 1456if (_structuralCache.IsFormattingInProgress) 1458_structuralCache.OnInvalidOperationDetected(); 1464_structuralCache.IsContentChangeInProgress = true; 1478Invariant.Assert(sender == _structuralCache.TextContainer); 1479Invariant.Assert(_structuralCache != null && _structuralCache.IsFormattedOnce, "Unexpected TextContainer.Change callback before first format!"); 1491if (_structuralCache.IsFormattingInProgress) 1493_structuralCache.OnInvalidOperationDetected(); 1513_structuralCache.AddDirtyTextRange(dtr); 1518_structuralCache.InvalidateFormatCache(/*Clear structure*/ false); 1530_structuralCache.IsContentChangeInProgress = false; 1665TextContainer textContainer = _structuralCache.TextContainer; 1716return _structuralCache.TextContainer; 1720return _structuralCache.TextContainer as TextContainer;