title: CodeMirror - Is it possible to scroll to a line so that it is in the middle of window?
body: <p>I'm highlighting lines of HTML code in CodeMirror and I want to add an anchor that scroll CodeMirror editor to a given line.</p>
  
  <p>I can scroll to a line X via <a href="http://codemirror.net/doc/manual.html" rel="noreferrer">setCursor</a> method. But I would like to have the line X in the middle of CodeMirror window. Can I do that? I studied the API and demos but with no luck.</p>
  
  <p>Thanks!</p>