Text Box Scrolling to the next line
<p>I'm currently making a typing program. I have a text file being read into a richtext box. This text is what needs to be typed but the richtextbox can only fit so many lines and I want to be able to scroll to the next line to show the rest of the texts once the previous lines have already been attempted.</p>

<p>I've tried textbox.ScrollToCaret() but all it does it makes the text box flicker, as in scrolling up and down.</p>

<p>I do record the index but the ways I have tried has not worked. Hacky ways such as (to mainly test it out):</p>

<pre><code>if(index &gt; 300) 
  textbox.ScrollToCaret();
</code></pre>

<p>300 Being the current maximum characters visible on the text box. Is there any way to scroll to show the rest of the lines on the text box? I'm happy to provide more information if needed.</p>

<pre><code>            wordPreview.BeginUpdate();                                  
            wordPreview.SelectionStart = wordPreview.TextLength;
            wordPreview.ScrollToCaret();
            wordPreview.EndUpdate();
</code></pre>