title: How can I calculate the VerticalOffset at which an index would be vertically centered in the viewing area of a textbox?
body: <p>I am working on adding find and replace functionality to a text editor that I am building and I would like to be able to scroll the textbox so that the selected match is vertically centered on the screen.</p>