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)
2659
int oldLineVisualsIndex =
_viewportLineVisualsIndex
;
2715
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
+ i] = oldLineVisuals[lineIndex - oldLineVisualsIndex + i];
2750
lineVisual = _viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
];
2761
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
] = lineVisual;
2771
if (lineIndex >=
_viewportLineVisualsIndex
&&
2772
lineIndex <
_viewportLineVisualsIndex
+ _viewportLineVisuals.Count)
2774
_viewportLineVisuals.Insert(lineIndex -
_viewportLineVisualsIndex
, null);
2785
if (lineIndex >=
_viewportLineVisualsIndex
&&
2786
lineIndex <
_viewportLineVisualsIndex
+ _viewportLineVisuals.Count &&
2787
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
] != null)
2790
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
].DiscardOnArrange = true;
2791
_viewportLineVisuals[lineIndex -
_viewportLineVisualsIndex
] = null;
2802
if (lineIndex <
_viewportLineVisualsIndex
)
2804
count -=
_viewportLineVisualsIndex
- lineIndex;
2806
lineIndex =
_viewportLineVisualsIndex
;
2808
if (lineIndex <
_viewportLineVisualsIndex
+ _viewportLineVisuals.Count)
2810
int start = lineIndex -
_viewportLineVisualsIndex
;