title: WPF RichTextBox - get current line
body: <p>How to get the current line (and remove) in WPF's <code>RichTextBox</code>?</p>
  <p>Winforms has <code>RichTextBox.GetLineFromCharIndex()</code> which is not found in WPF.</p>