title: Can't Scroll and highlight code in Ace Editor
body: <p>With the help of this community I was able to make my ace editor full height, so as the users typed or modified it the editor would grow with the code. I recently realized this prevents the user from trying to highlight the code. When you start to highlight the code and begin dragging down when you reach the bottom of the window it stop, it doesn't scroll the window down like you would expect.</p>
  
  <p>Here is the code I am using to make the editor full height. A link to a JSFiddle is below</p>
  
  <pre><code>var editor = ace.edit("editor-html");
  
  setEditorOptions(editor, 'html');
  
  setTimeout(function() {
      heightUpdateFunction();
  }, 100);    
  
  function setEditorOptions(editor, type) {
      editor.setShowPrintMargin(false);
      editor.setTheme("ace/theme/clouds");
      editor.getSession().setMode("ace/mode/"+type);
      editor.getSession().on('change', heightUpdateFunction);
  }
  function heightUpdateFunction() {
      var newHeight = (editor.getSession().getScreenLength() + 1) * editor.renderer.lineHeight + editor.renderer.scrollBar.getWidth();
      $('#editor-html').css('height', newHeight.toString() + "px");
      editor.resize();
  
      if (newHeight &lt;= 1) {   
          setTimeout(function() {
              heightUpdateFunction();
          }, 100);    
      }
  }
  </code></pre>
  
  <p>I have uploaded an example to try this out of <a href="http://jsfiddle.net/PCwud/9/" rel="nofollow">jsfiddle.net</a>.</p>
  
  <p>Is there any way to fix the scrolling when a user tries to hightlight the text?</p>