2 writes to _viewportLineVisualsIndex
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (2)
2668
_viewportLineVisualsIndex
= -1;
2689
_viewportLineVisualsIndex
= firstLineIndex;
17 references to _viewportLineVisualsIndex
PresentationFramework (17)
MS\Internal\Documents\TextBoxView.cs (17)
2663
int oldLineVisualsIndex =
_viewportLineVisualsIndex
;
2719
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
+ i] = oldLineVisuals[lineIndex - oldLineVisualsIndex + i];
2754
lineVisual = _viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
];
2765
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
] = lineVisual;
2775
if (lineIndex >=
_viewportLineVisualsIndex
&&
2776
lineIndex <
_viewportLineVisualsIndex
+ _viewportLineVisuals.Count)
2778
_viewportLineVisuals.Insert(lineIndex -
_viewportLineVisualsIndex
, null);
2789
if (lineIndex >=
_viewportLineVisualsIndex
&&
2790
lineIndex <
_viewportLineVisualsIndex
+ _viewportLineVisuals.Count &&
2791
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
] != null)
2794
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
].DiscardOnArrange = true;
2795
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
] = null;
2806
if (lineIndex <
_viewportLineVisualsIndex
)
2808
count -=
_viewportLineVisualsIndex
- lineIndex;
2810
lineIndex =
_viewportLineVisualsIndex
;
2812
if (lineIndex <
_viewportLineVisualsIndex
+ _viewportLineVisuals.Count)
2814
int start = lineIndex -
_viewportLineVisualsIndex
;