Hi,
I am making a code editor and want to display line numbers to the
left. I have a UserControl with a ListView docked to the left edge and
a TextBox that makes up the rest. I am able to add items to the
ListView when a new line is entered in the TextBox (these items are
the line numbers). What I am not able to figure out is how to update
the view of the ListView when the TextBox starts scrolling vertically.
I would like the ListView to show those line numbers only that the
TextBox is currently displaying.
It would be great if someone could help me out,
Navin