void ITextCaret.EnsureVisible()
 {
     TextEditor.ScrollToCaret();
 }