2 writes to _viewportLineVisualsIndex
PresentationFramework (2)
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2664_viewportLineVisualsIndex = -1; 2685_viewportLineVisualsIndex = firstLineIndex;
17 references to _viewportLineVisualsIndex
PresentationFramework (17)
src\Framework\MS\Internal\Documents\TextBoxView.cs (17)
2659int oldLineVisualsIndex = _viewportLineVisualsIndex; 2715_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex + i] = oldLineVisuals[lineIndex - oldLineVisualsIndex + i]; 2750lineVisual = _viewportLineVisuals[lineIndex - _viewportLineVisualsIndex]; 2761_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex] = lineVisual; 2771if (lineIndex >= _viewportLineVisualsIndex && 2772lineIndex < _viewportLineVisualsIndex + _viewportLineVisuals.Count) 2774_viewportLineVisuals.Insert(lineIndex - _viewportLineVisualsIndex, null); 2785if (lineIndex >= _viewportLineVisualsIndex && 2786lineIndex < _viewportLineVisualsIndex + _viewportLineVisuals.Count && 2787_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex] != null) 2790_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex].DiscardOnArrange = true; 2791_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex] = null; 2802if (lineIndex < _viewportLineVisualsIndex) 2804count -= _viewportLineVisualsIndex - lineIndex; 2806lineIndex = _viewportLineVisualsIndex; 2808if (lineIndex < _viewportLineVisualsIndex + _viewportLineVisuals.Count) 2810int start = lineIndex - _viewportLineVisualsIndex;