title: making a simple search function, making the cursor jump to (or highlight) the word that is searched for
body: <p>I have now used way too long time, trying to figure out a problem, which I didn't think would be that hard.</p>
  
  <p>Here is the deal:</p>
  
  <p>I am writing a small application using C# and WPF.</p>
  
  <p>I have a RichTextBox containing a FlowDocument.</p>
  
  <p>I have added a small textbox and a button below my richtextbox.</p>
  
  <p>The user then types in the word he/she wishes to search for, and presses the button.</p>
  
  <p>The richtextbox will then jump to the first occurrance of that word.</p>
  
  <p>it is enough that it just jumps to the correct line - it can also select, highlight or place the cursor by the word - anything will do, as long as the richTextBox is scrolled to the word.</p>
  
  <p>Continuing to press the button, will then jump to the next occurance of the word, and so on so forth, till the end of the document.</p>
  
  <p>As I said - I thought it to be a simple task - however I am having serious problems figuring this out.</p>