8 writes to _lineIndexFirstVisual
PresentationFramework (8)
MS\Internal\PtsHost\TextParaClient.cs (8)
97_lineIndexFirstVisual = -1; 1441_lineIndexFirstVisual = -1; 1446_lineIndexFirstVisual = lineIndexToBeginRemoval; 1508_lineIndexFirstVisual = -1; 3444_lineIndexFirstVisual = -1; 3458_lineIndexFirstVisual = lineIndexFirstVisible; 3488_lineIndexFirstVisual = lineIndexFirstVisible; 3529_lineIndexFirstVisual = -1;
26 references to _lineIndexFirstVisual
PresentationFramework (26)
MS\Internal\PtsHost\TextParaClient.cs (26)
85if(_lineIndexFirstVisual == -1 && lineContainerVisual.Children.Count > 0) 95if(_lineIndexFirstVisual != -1) 1402else if (_lineIndexFirstVisual != -1) 1414int countVisualsShiftBeforeChange = Math.Min(Math.Max(lineIndexToBeginRemoval - _lineIndexFirstVisual, 0), lineVisuals.Count); 1428if (lineIndexToBeginRemoval < _lineIndexFirstVisual) 1431int actualLinesToRemove = Math.Min(Math.Max(lineIndexToBeginRemoval - _lineIndexFirstVisual + cLinesToRemove, 0), lineVisuals.Count); 1449else if (lineIndexToBeginRemoval < _lineIndexFirstVisual + lineVisuals.Count) 1459int actualLinesToRemove = Math.Min(cLinesToRemove, lineVisuals.Count - (lineIndexToBeginRemoval - _lineIndexFirstVisual)); 1461lineVisuals.RemoveRange(lineIndexToBeginRemoval - _lineIndexFirstVisual, actualLinesToRemove); 1463insertionIndex = lineIndexToBeginRemoval - _lineIndexFirstVisual; // Insertion index is relative to committed visual range 1839if(_lineIndexFirstVisual != -1) 1841lineStart = _lineIndexFirstVisual; 2279if (_lineIndexFirstVisual != -1) 2281visualIndex -= _lineIndexFirstVisual; 3382else if (ContainedInRectOnV(ref viewport) && _lineIndexFirstVisual == 0 && visualChildren.Count == textDetails.cLines) 3440if (_lineIndexFirstVisual != -1 && ((lineIndexFirstVisible > _lineIndexFirstVisual + visualChildren.Count) || 3441(lineIndexFirstInvisible < _lineIndexFirstVisual))) 3448if (_lineIndexFirstVisual == -1) 3460else if (lineIndexFirstVisible != _lineIndexFirstVisual || (lineIndexFirstInvisible - lineIndexFirstVisible) != visualChildren.Count) 3468if (lineIndexFirstVisible < _lineIndexFirstVisual) 3470for (int index = lineIndexFirstVisible; index < _lineIndexFirstVisual; index++) 3480else if (lineIndexFirstVisible != _lineIndexFirstVisual) 3486visualChildren.RemoveRange(0, lineIndexFirstVisible - _lineIndexFirstVisual); 3491Debug.Assert(_lineIndexFirstVisual == lineIndexFirstVisible); 3510for (int index = _lineIndexFirstVisual + visualChildren.Count; index < lineIndexFirstInvisible; index++)