1 write to _structuralCache
PresentationFramework (1)
System\Windows\Documents\FlowDocument.cs (1)
1219_structuralCache = new StructuralCache(this, textContainer);
50 references to _structuralCache
PresentationFramework (50)
System\Windows\Documents\FlowDocument.cs (50)
174return _structuralCache.TextContainer.Start; 189return _structuralCache.TextContainer.End; 783if (_structuralCache != null && _structuralCache.IsFormattedOnce) 793if (_structuralCache.IsFormattingInProgress) 795_structuralCache.OnInvalidOperationDetected(); 802_structuralCache.InvalidateFormatCache(!affectsRender); 837return new RangeContentEnumerator(_structuralCache.TextContainer.Start, _structuralCache.TextContainer.End); 921if (textPointer != null && textPointer.TextContainer != _structuralCache.TextContainer) 938if (_structuralCache != null && _structuralCache.IsFormattedOnce && !_structuralCache.ForceReformat) 943if (_structuralCache.IsFormattingInProgress) 957TextPointer childStart = new TextPointer(_structuralCache.TextContainer.Start); 964_structuralCache.AddDirtyTextRange(dtr); 976_structuralCache.TextContainer.Changing += new EventHandler(OnTextContainerChanging); 977_structuralCache.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 978_structuralCache.TextContainer.Highlights.Changed += new HighlightChangedEventHandler(OnHighlightChanged); 986_structuralCache.TextContainer.Changing -= new EventHandler(OnTextContainerChanging); 987_structuralCache.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 988_structuralCache.TextContainer.Highlights.Changed -= new HighlightChangedEventHandler(OnHighlightChanged); 989_structuralCache.IsFormattedOnce = false; 1080return _structuralCache; 1148return _structuralCache.TextContainer; 1235if (fd._structuralCache != null && fd._structuralCache.IsFormattedOnce) 1381Invariant.Assert(_structuralCache != null && _structuralCache.IsFormattedOnce, "Unexpected Highlights.Changed callback before first format!"); 1384if (_structuralCache.IsFormattingInProgress) 1386_structuralCache.OnInvalidOperationDetected(); 1404_structuralCache.InvalidateFormatCache(/*Clear structure*/ false); 1421_structuralCache.AddDirtyTextRange(dtr); 1433Invariant.Assert(sender == _structuralCache.TextContainer, "Received text change for foreign TextContainer."); 1434Invariant.Assert(_structuralCache != null && _structuralCache.IsFormattedOnce, "Unexpected TextContainer.Changing callback before first format!"); 1437if (_structuralCache.IsFormattingInProgress) 1439_structuralCache.OnInvalidOperationDetected(); 1445_structuralCache.IsContentChangeInProgress = true; 1459Invariant.Assert(sender == _structuralCache.TextContainer); 1460Invariant.Assert(_structuralCache != null && _structuralCache.IsFormattedOnce, "Unexpected TextContainer.Change callback before first format!"); 1472if (_structuralCache.IsFormattingInProgress) 1474_structuralCache.OnInvalidOperationDetected(); 1494_structuralCache.AddDirtyTextRange(dtr); 1499_structuralCache.InvalidateFormatCache(/*Clear structure*/ false); 1508_structuralCache.IsContentChangeInProgress = false; 1640TextContainer textContainer = _structuralCache.TextContainer; 1688return _structuralCache.TextContainer; 1692return _structuralCache.TextContainer as TextContainer;