title: Avalonedit how to get the top visible line
body: <p>In Avalonedit, how do I get the line number of the very top line that is visible to the user?</p>
  
  <p>I believe I'm supposed to make some use out of VisualLines but it isn't helping.</p>