8 writes to _lineIndexFirstVisual
PresentationFramework (8)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (8)
109_lineIndexFirstVisual = -1; 1624_lineIndexFirstVisual = -1; 1629_lineIndexFirstVisual = lineIndexToBeginRemoval; 1691_lineIndexFirstVisual = -1; 3705_lineIndexFirstVisual = -1; 3719_lineIndexFirstVisual = lineIndexFirstVisible; 3749_lineIndexFirstVisual = lineIndexFirstVisible; 3790_lineIndexFirstVisual = -1;
26 references to _lineIndexFirstVisual
PresentationFramework (26)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (26)
97if(_lineIndexFirstVisual == -1 && lineContainerVisual.Children.Count > 0) 107if(_lineIndexFirstVisual != -1) 1585else if (_lineIndexFirstVisual != -1) 1597int countVisualsShiftBeforeChange = Math.Min(Math.Max(lineIndexToBeginRemoval - _lineIndexFirstVisual, 0), lineVisuals.Count); 1611if (lineIndexToBeginRemoval < _lineIndexFirstVisual) 1614int actualLinesToRemove = Math.Min(Math.Max(lineIndexToBeginRemoval - _lineIndexFirstVisual + cLinesToRemove, 0), lineVisuals.Count); 1632else if (lineIndexToBeginRemoval < _lineIndexFirstVisual + lineVisuals.Count) 1642int actualLinesToRemove = Math.Min(cLinesToRemove, lineVisuals.Count - (lineIndexToBeginRemoval - _lineIndexFirstVisual)); 1644lineVisuals.RemoveRange(lineIndexToBeginRemoval - _lineIndexFirstVisual, actualLinesToRemove); 1646insertionIndex = lineIndexToBeginRemoval - _lineIndexFirstVisual; // Insertion index is relative to committed visual range 2048if(_lineIndexFirstVisual != -1) 2050lineStart = _lineIndexFirstVisual; 2493if (_lineIndexFirstVisual != -1) 2495visualIndex -= _lineIndexFirstVisual; 3643else if (ContainedInRectOnV(ref viewport) && _lineIndexFirstVisual == 0 && visualChildren.Count == textDetails.cLines) 3701if (_lineIndexFirstVisual != -1 && ((lineIndexFirstVisible > _lineIndexFirstVisual + visualChildren.Count) || 3702(lineIndexFirstInvisible < _lineIndexFirstVisual))) 3709if (_lineIndexFirstVisual == -1) 3721else if (lineIndexFirstVisible != _lineIndexFirstVisual || (lineIndexFirstInvisible - lineIndexFirstVisible) != visualChildren.Count) 3729if (lineIndexFirstVisible < _lineIndexFirstVisual) 3731for (int index = lineIndexFirstVisible; index < _lineIndexFirstVisual; index++) 3741else if (lineIndexFirstVisible != _lineIndexFirstVisual) 3747visualChildren.RemoveRange(0, lineIndexFirstVisible - _lineIndexFirstVisual); 3752Debug.Assert(_lineIndexFirstVisual == lineIndexFirstVisible); 3771for (int index = _lineIndexFirstVisual + visualChildren.Count; index < lineIndexFirstInvisible; index++)